[lld] r236823 - [ELF] Initialize the _outputMagic class field using default value
Simon Atanasyan
simon at atanasyan.com
Fri May 8 03:48:31 PDT 2015
Author: atanasyan
Date: Fri May 8 05:48:30 2015
New Revision: 236823
URL: http://llvm.org/viewvc/llvm-project?rev=236823&view=rev
Log:
[ELF] Initialize the _outputMagic class field using default value
No functional changes.
Modified:
lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h
Modified: lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h?rev=236823&r1=236822&r2=236823&view=diff
==============================================================================
--- lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h (original)
+++ lld/trunk/include/lld/ReaderWriter/ELFLinkingContext.h Fri May 8 05:48:30 2015
@@ -384,7 +384,7 @@ protected:
bool _mipsPcRelEhRel = false;
uint64_t _maxPageSize = 0x1000;
- OutputMagic _outputMagic;
+ OutputMagic _outputMagic = OutputMagic::DEFAULT;
StringRefVector _inputSearchPaths;
std::unique_ptr<Writer> _writer;
llvm::Optional<StringRef> _dynamicLinkerPath;
More information about the llvm-commits
mailing list