summaryrefslogtreecommitdiffstats
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
commit150a9ad3ffcc142cfcc933379063bec6cfca0783 (patch)
tree00b3b2d22e1ed1c2b07a0d8b28804f11dff52eb1
parent3cc4835c00225d52453014a05f0a2b07f1c1973f (diff)
downloadbcm5719-llvm-150a9ad3ffcc142cfcc933379063bec6cfca0783.tar.gz
bcm5719-llvm-150a9ad3ffcc142cfcc933379063bec6cfca0783.zip
[LLD] [COFF] Fix use of uninitialized memory since SVN r375390
llvm-svn: 375400
-rw-r--r--lld/COFF/InputFiles.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/InputFiles.h b/lld/COFF/InputFiles.h
index 1004432c683..672461cd84b 100644
--- a/lld/COFF/InputFiles.h
+++ b/lld/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
OpenPOWER on IntegriCloud