2012-08-02 21:52:49 +00:00
|
|
|
RUN: yaml2obj %p/Inputs/COFF/i386.yaml | llvm-objdump -s - | FileCheck %s -check-prefix COFF-i386
|
2011-10-31 23:56:52 +00:00
|
|
|
RUN: llvm-objdump -s %p/Inputs/trivial-object-test.elf-i386 \
|
2011-10-17 17:13:05 +00:00
|
|
|
RUN: | FileCheck %s -check-prefix ELF-i386
|
|
|
|
|
2012-08-02 19:16:56 +00:00
|
|
|
COFF-i386: file format
|
2011-10-17 17:13:05 +00:00
|
|
|
COFF-i386: Contents of section .text:
|
|
|
|
COFF-i386: 0000 83ec0cc7 44240800 000000c7 04240000 ....D$.......$..
|
|
|
|
COFF-i386: 0010 0000e800 000000e8 00000000 8b442408 .............D$.
|
|
|
|
COFF-i386: 0020 83c40cc3 ....
|
|
|
|
COFF-i386: Contents of section .data:
|
|
|
|
COFF-i386: 0000 48656c6c 6f20576f 726c6421 00 Hello World!.
|
|
|
|
|
2011-10-17 17:13:22 +00:00
|
|
|
ELF-i386: trivial-object-test.elf-i386: file format
|
2011-10-17 17:13:05 +00:00
|
|
|
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!.
|