[lld] r274909 - fix use of uninitialized.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Jul 8 12:28:55 PDT 2016
Author: rafael
Date: Fri Jul 8 14:28:55 2016
New Revision: 274909
URL: http://llvm.org/viewvc/llvm-project?rev=274909&view=rev
Log:
fix use of uninitialized.
Modified:
lld/trunk/ELF/Symbols.h
Modified: lld/trunk/ELF/Symbols.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Symbols.h?rev=274909&r1=274908&r2=274909&view=diff
==============================================================================
--- lld/trunk/ELF/Symbols.h (original)
+++ lld/trunk/ELF/Symbols.h Fri Jul 8 14:28:55 2016
@@ -230,7 +230,7 @@ public:
// If non-null the symbol has a Thunk that may be used as an alternative
// destination for callers of this Symbol.
- Thunk<ELFT> *ThunkData;
+ Thunk<ELFT> *ThunkData = nullptr;
private:
static InputSectionBase<ELFT> *NullInputSection;
More information about the llvm-commits
mailing list