[lld] r194169 - [mach-o] make unspecifiedPageZeroSize const to fix VC++ error

Nick Kledzik kledzik at apple.com
Wed Nov 6 13:47:37 PST 2013


Author: kledzik
Date: Wed Nov  6 15:47:37 2013
New Revision: 194169

URL: http://llvm.org/viewvc/llvm-project?rev=194169&view=rev
Log:
[mach-o] make unspecifiedPageZeroSize const to fix VC++ error

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=194169&r1=194168&r2=194169&view=diff
==============================================================================
--- lld/trunk/include/lld/ReaderWriter/MachOLinkingContext.h (original)
+++ lld/trunk/include/lld/ReaderWriter/MachOLinkingContext.h Wed Nov  6 15:47:37 2013
@@ -147,7 +147,7 @@ private:
   };
 
   static ArchInfo _s_archInfos[];
-  const uint64_t unspecifiedPageZeroSize = UINT64_MAX;
+  static const uint64_t unspecifiedPageZeroSize = UINT64_MAX;
 
   HeaderFileType _outputFileType;   // e.g MH_EXECUTE
   bool _outputFileTypeStatic; // Disambiguate static vs dynamic prog





More information about the llvm-commits mailing list