[Support/COFF] Make the order of members in symbol match the standard.
authorMichael J. Spencer <bigcheesegs@gmail.com>
Mon, 14 May 2012 22:43:21 +0000 (22:43 +0000)
committerMichael J. Spencer <bigcheesegs@gmail.com>
Mon, 14 May 2012 22:43:21 +0000 (22:43 +0000)
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@156785 91177308-0d34-0410-b5e6-96231b3b80d8

include/llvm/Support/COFF.h

index 88c60bac74022fcb388c6e07cc364a146ea5072e..b18ba2b550c3ccbc808f42269d5b622171105e60 100644 (file)
@@ -114,9 +114,9 @@ namespace COFF {
   struct symbol {
     char     Name[NameSize];
     uint32_t Value;
+    uint16_t SectionNumber;
     uint16_t Type;
     uint8_t  StorageClass;
-    uint16_t SectionNumber;
     uint8_t  NumberOfAuxSymbols;
   };