• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1RUN: llvm-objdump -s %p/Inputs/trivial-object-test.coff-i386 \
2RUN:              | FileCheck %s -check-prefix COFF-i386
3RUN: llvm-objdump -s %p/Inputs/trivial-object-test.elf-i386 \
4RUN:              | FileCheck %s -check-prefix ELF-i386
5
6COFF-i386: trivial-object-test.coff-i386:     file format
7COFF-i386: Contents of section .text:
8COFF-i386:  0000 83ec0cc7 44240800 000000c7 04240000  ....D$.......$..
9COFF-i386:  0010 0000e800 000000e8 00000000 8b442408  .............D$.
10COFF-i386:  0020 83c40cc3                             ....
11COFF-i386: Contents of section .data:
12COFF-i386:  0000 48656c6c 6f20576f 726c6421 00        Hello World!.
13
14ELF-i386: trivial-object-test.elf-i386:     file format
15ELF-i386: Contents of section .text:
16ELF-i386:  0000 83ec0cc7 44240800 000000c7 04240000  ....D$.......$..
17ELF-i386:  0010 0000e8fc ffffffe8 fcffffff 8b442408  .............D$.
18ELF-i386:  0020 83c40cc3                             ....
19ELF-i386: Contents of section .rodata.str1.1:
20ELF-i386:  0024 48656c6c 6f20576f 726c6421 00        Hello World!.
21