1 ## Check that with ELF input --private-headers outputs the program header,
\r
2 ## dynamic section and version definitions.
\r
3 # RUN: yaml2obj %s -o %t
\r
4 # RUN: llvm-objdump --private-headers %t | FileCheck %s
\r
6 # CHECK: Program Header:
\r
7 # CHECK-NEXT: LOAD off 0x00000000000000b0 vaddr 0x0000000000001000 paddr 0x0000000000001000 align 2**0
\r
8 # CHECK-NEXT: filesz 0x000000000000003d memsz 0x000000000000003d flags ---
\r
9 # CHECK-NEXT: DYNAMIC off 0x00000000000000cd vaddr 0x000000000000101d paddr 0x000000000000101d align 2**0
\r
10 # CHECK-NEXT: filesz 0x0000000000000020 memsz 0x0000000000000020 flags ---
\r
11 # CHECK: Dynamic Section:
\r
12 # CHECK-NEXT: NEEDED bar
\r
13 # CHECK: Version definitions:
\r
14 # CHECK-NEXT: 1 0x01 0x075bcd15 foo
\r
15 # CHECK-NEXT: 2 0x02 0x3ade68b1 VERSION_1
\r
16 # CHECK-NEXT: VERSION_2
\r
28 Content: "0062617200666F6F0056455253494F4E5F320056455253494F4E5F3100"
\r
29 # Content is: bar, foo, VERSION_2, VERSION_1
\r
32 Flags: [ SHF_ALLOC ]
\r
38 - Name: .gnu.version_d
\r
39 Type: SHT_GNU_verdef
\r