1 # RUN: yaml2obj %s -o %t
2 # RUN: llvm-readobj --sections %t | FileCheck %s
4 ## Check yaml2obj does not ignore the address of the
5 ## explicitly listed .dynstr, .dynsym, .strtab
6 ## and .symtab sections.
9 # CHECK-NEXT: Type: SHT_STRTAB
11 # CHECK-NEXT: SHF_ALLOC
13 # CHECK-NEXT: Address: 0x1000
15 # CHECK: Name: .dynsym
16 # CHECK-NEXT: Type: SHT_DYNSYM
18 # CHECK-NEXT: SHF_ALLOC
20 # CHECK-NEXT: Address: 0x2000
22 # CHECK: Name: .strtab
23 # CHECK-NEXT: Type: SHT_STRTAB
26 # CHECK-NEXT: Address: 0x3000
28 # CHECK: Name: .symtab
29 # CHECK-NEXT: Type: SHT_SYMTAB
32 # CHECK-NEXT: Address: 0x4000