File: objdump-section-content.test

package info (click to toggle)
llvm-toolchain-3.4 1%3A3.4.2-13
  • links: PTS, VCS
  • area: main
  • in suites: jessie, jessie-kfreebsd
  • size: 253,236 kB
  • ctags: 276,203
  • sloc: cpp: 1,665,580; ansic: 298,647; asm: 206,157; objc: 84,350; python: 73,119; sh: 23,466; perl: 5,679; makefile: 5,542; ml: 5,250; pascal: 2,467; lisp: 1,420; xml: 679; cs: 236; csh: 117
file content (24 lines) | stat: -rw-r--r-- 1,195 bytes parent folder | download | duplicates (14)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
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

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$.
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
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)>