aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMartin Storsjo <martin@martin.st>2019-10-21 09:35:34 +0000
committerMartin Storsjo <martin@martin.st>2019-10-21 09:35:34 +0000
commit64b024a57c56c3528d6be3d14be5e3da42614a6f (patch)
tree8229de122e932b8117471f0331f8d85fea3e8a9f
parent8c742da1fd4f4acc78032a34021de228e3621ea5 (diff)
[LLD] [COFF] Fix use of uninitialized memory since SVN r375390HEADmaster
git-svn-id: https://llvm.org/svn/llvm-project/lld/trunk@375400 91177308-0d34-0410-b5e6-96231b3b80d8
-rw-r--r--COFF/InputFiles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/COFF/InputFiles.h b/COFF/InputFiles.h
index 1004432c6..672461cd8 100644
--- a/COFF/InputFiles.h
+++ b/COFF/InputFiles.h
@@ -294,7 +294,7 @@ private:
// symbols in the real symbol table) are filled with null pointers.
std::vector<Symbol *> symbols;
- DWARFCache *dwarf;
+ DWARFCache *dwarf = nullptr;
};
// This type represents import library members that contain DLL names