[lld] r194290 - [mach-o] fix uninitialized variable
Nick Kledzik
kledzik at apple.com
Fri Nov 8 15:00:26 PST 2013
Author: kledzik
Date: Fri Nov 8 17:00:26 2013
New Revision: 194290
URL: http://llvm.org/viewvc/llvm-project?rev=194290&view=rev
Log:
[mach-o] fix uninitialized variable
Modified:
lld/trunk/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
Modified: lld/trunk/lib/ReaderWriter/MachO/MachOLinkingContext.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/lib/ReaderWriter/MachO/MachOLinkingContext.cpp?rev=194290&r1=194289&r2=194290&view=diff
==============================================================================
--- lld/trunk/lib/ReaderWriter/MachO/MachOLinkingContext.cpp (original)
+++ lld/trunk/lib/ReaderWriter/MachO/MachOLinkingContext.cpp Fri Nov 8 17:00:26 2013
@@ -115,6 +115,7 @@ MachOLinkingContext::MachOLinkingContext
: _outputFileType(MH_EXECUTE), _outputFileTypeStatic(false),
_doNothing(false), _arch(arch_unknown), _os(OS::macOSX), _osMinVersion(0),
_pageZeroSize(unspecifiedPageZeroSize),
+ _pageSize(4096),
_compatibilityVersion(0), _currentVersion(0),
_deadStrippableDylib(false), _kindHandler(nullptr) {}
More information about the llvm-commits
mailing list