[lld] r199241 - [Mips] Do not forget to initialize a class field.
Simon Atanasyan
simon at atanasyan.com
Tue Jan 14 10:20:08 PST 2014
Author: atanasyan
Date: Tue Jan 14 12:20:07 2014
New Revision: 199241
URL: http://llvm.org/viewvc/llvm-project?rev=199241&view=rev
Log:
[Mips] Do not forget to initialize a class field.
Modified:
lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp
Modified: lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp?rev=199241&r1=199240&r2=199241&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp (original)
+++ lld/trunk/lib/ReaderWriter/ELF/Mips/MipsTargetHandler.cpp Tue Jan 14 12:20:07 2014
@@ -121,7 +121,7 @@ private:
MipsTargetHandler::MipsTargetHandler(MipsLinkingContext &context)
: DefaultTargetHandler(context), _targetLayout(context),
- _relocationHandler(context, *this) {}
+ _relocationHandler(context, *this), _gpDispSymAtom(nullptr) {}
uint64_t MipsTargetHandler::getGPDispSymAddr() const {
return _gpDispSymAtom ? _gpDispSymAtom->_virtualAddr : 0;
More information about the llvm-commits
mailing list