Revert r236894 "[BasicAA] Fix zext & sext handling"
[oota-llvm.git] / test / Object / objdump-section-content.test
index 413f74be5790f4bc89b8ad8e02b3b28cad9ebfb9..e0199b329d1811a56bb5d5f8fae61ab8a492a3a0 100644 (file)
@@ -1,11 +1,10 @@
-RUN: llvm-objdump -s %p/TestObjectFiles/trivial-object-test.coff-i386 \
-RUN:              | FileCheck %s -check-prefix COFF-i386
-RUN: llvm-objdump -s %p/TestObjectFiles/trivial-object-test.elf-i386 \
+RUN: yaml2obj %p/Inputs/COFF/i386.yaml | llvm-objdump -s - | FileCheck %s -check-prefix COFF-i386
+RUN: llvm-objdump -s %p/Inputs/trivial-object-test.elf-i386 \
 RUN:              | FileCheck %s -check-prefix ELF-i386
+RUN: llvm-objdump -s %p/Inputs/shared-object-test.elf-i386 \
+RUN:              | FileCheck %s -check-prefix BSS
 
-XFAIL: *
-
-COFF-i386: trivial-object-test.coff-i386:     file format pe-i386
+COFF-i386: file format
 COFF-i386: Contents of section .text:
 COFF-i386:  0000 83ec0cc7 44240800 000000c7 04240000  ....D$.......$..
 COFF-i386:  0010 0000e800 000000e8 00000000 8b442408  .............D$.
@@ -13,10 +12,13 @@ COFF-i386:  0020 83c40cc3                             ....
 COFF-i386: Contents of section .data:
 COFF-i386:  0000 48656c6c 6f20576f 726c6421 00        Hello World!.
 
-ELF-i386: trivial-object-test.elf-i386:     file format elf32-i386
+ELF-i386: trivial-object-test.elf-i386:     file format
 ELF-i386: Contents of section .text:
 ELF-i386:  0000 83ec0cc7 44240800 000000c7 04240000  ....D$.......$..
 ELF-i386:  0010 0000e8fc ffffffe8 fcffffff 8b442408  .............D$.
 ELF-i386:  0020 83c40cc3                             ....
 ELF-i386: Contents of section .rodata.str1.1:
 ELF-i386:  0024 48656c6c 6f20576f 726c6421 00        Hello World!.
+
+BSS: Contents of section .bss:
+BSS-NEXT: <skipping contents of bss section at [12c8, 12cc)>