[llvm-commits] [llvm] r120978 - in /llvm/trunk: lib/MC/WinCOFFStreamer.cpp test/MC/COFF/basic-coff.s test/MC/COFF/symbol-fragment-offset.s

Rafael Espindola rafael.espindola at gmail.com
Sun Dec 5 19:03:44 PST 2010


Author: rafael
Date: Sun Dec  5 21:03:44 2010
New Revision: 120978

URL: http://llvm.org/viewvc/llvm-project?rev=120978&view=rev
Log:
Don't use PadSectionToAlignment on windows.

Modified:
    llvm/trunk/lib/MC/WinCOFFStreamer.cpp
    llvm/trunk/test/MC/COFF/basic-coff.s
    llvm/trunk/test/MC/COFF/symbol-fragment-offset.s

Modified: llvm/trunk/lib/MC/WinCOFFStreamer.cpp
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/MC/WinCOFFStreamer.cpp?rev=120978&r1=120977&r2=120978&view=diff
==============================================================================
--- llvm/trunk/lib/MC/WinCOFFStreamer.cpp (original)
+++ llvm/trunk/lib/MC/WinCOFFStreamer.cpp Sun Dec  5 21:03:44 2010
@@ -124,7 +124,7 @@
                                  TargetAsmBackend &TAB,
                                  MCCodeEmitter &CE,
                                  raw_ostream &OS)
-    : MCObjectStreamer(Context, TAB, OS, &CE, true)
+    : MCObjectStreamer(Context, TAB, OS, &CE, false)
     , CurSymbol(NULL) {
 }
 

Modified: llvm/trunk/test/MC/COFF/basic-coff.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/basic-coff.s?rev=120978&r1=120977&r2=120978&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/basic-coff.s (original)
+++ llvm/trunk/test/MC/COFF/basic-coff.s Sun Dec  5 21:03:44 2010
@@ -94,7 +94,7 @@
 // CHECK:       StorageClass             = IMAGE_SYM_CLASS_STATIC (3)
 // CHECK:       NumberOfAuxSymbols       = 1
 // CHECK:       AuxillaryData            =
-// CHECK:         18 00 00 00 02 00 00 00 - 00 00 00 00 01 00 00 00 |................|
+// CHECK:         15 00 00 00 02 00 00 00 - 00 00 00 00 01 00 00 00 |................|
 // CHECK:         00 00                                             |..|
 // CHECK:     }
 // CHECK:     2 = {

Modified: llvm/trunk/test/MC/COFF/symbol-fragment-offset.s
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/test/MC/COFF/symbol-fragment-offset.s?rev=120978&r1=120977&r2=120978&view=diff
==============================================================================
--- llvm/trunk/test/MC/COFF/symbol-fragment-offset.s (original)
+++ llvm/trunk/test/MC/COFF/symbol-fragment-offset.s Sun Dec  5 21:03:44 2010
@@ -62,7 +62,7 @@
 // CHECK:       SectionData              =
 // CHECK:         83 EC 04 C7 04 24 00 00 - 00 00 E8 00 00 00 00 C7 |.....$..........|
 // CHECK:         04 24 07 00 00 00 E8 00 - 00 00 00 C7 04 24 10 00 |.$...........$..|
-// CHECK:         00 00 E8 00 00 00 00 31 - C0 83 C4 04 C3 00 00 00 |.......1........|
+// CHECK:         00 00 E8 00 00 00 00 31 - C0 83 C4 04 C3 |.......1.....|
 // CHECK:       Relocations              = [
 // CHECK:         0 = {
 // CHECK:           VirtualAddress           = 0x6
@@ -134,7 +134,7 @@
 // CHECK:       StorageClass             = IMAGE_SYM_CLASS_STATIC (3)
 // CHECK:       NumberOfAuxSymbols       = 1
 // CHECK:       AuxillaryData            =
-// CHECK:         30 00 00 00 06 00 00 00 - 00 00 00 00 01 00 00 00 |0...............|
+// CHECK:         2D 00 00 00 06 00 00 00 - 00 00 00 00 01 00 00 00 |-...............|
 // CHECK:         00 00                                             |..|
 
 // CHECK:     }





More information about the llvm-commits mailing list