[lld] r237847 - [LLD] Fix an out-of-order-initialization bug that was introduced in r237841 by

Lang Hames lhames at gmail.com
Wed May 20 15:35:20 PDT 2015


Author: lhames
Date: Wed May 20 17:35:20 2015
New Revision: 237847

URL: http://llvm.org/viewvc/llvm-project?rev=237847&view=rev
Log:
[LLD] Fix an out-of-order-initialization bug that was introduced in r237841 by
moving a field in MachOLinkingContext.

Modified:
    lld/trunk/include/lld/ReaderWriter/MachOLinkingContext.h

Modified: lld/trunk/include/lld/ReaderWriter/MachOLinkingContext.h
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/include/lld/ReaderWriter/MachOLinkingContext.h?rev=237847&r1=237846&r2=237847&view=diff
==============================================================================
--- lld/trunk/include/lld/ReaderWriter/MachOLinkingContext.h (original)
+++ lld/trunk/include/lld/ReaderWriter/MachOLinkingContext.h Wed May 20 17:35:20 2015
@@ -335,13 +335,13 @@ private:
   bool _outputMachOTypeStatic; // Disambiguate static vs dynamic prog
   bool _doNothing;            // for -help and -v which just print info
   bool _pie;
-  uint64_t _stackSize;
   Arch _arch;
   OS _os;
   uint32_t _osMinVersion;
   uint64_t _pageZeroSize;
   uint64_t _pageSize;
   uint64_t _baseAddress;
+  uint64_t _stackSize;
   uint32_t _compatibilityVersion;
   uint32_t _currentVersion;
   StringRef _installName;





More information about the llvm-commits mailing list