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