1 ## Check we are able to set a custom sh_name field for different sections
2 ## and that doing this does not affect the names stored in the string table.
4 # RUN: yaml2obj %s -o %t1
5 # RUN: llvm-readobj --sections --section-data %t1 | FileCheck %s
8 # CHECK-NEXT: Name:{{.* }}(1)
10 # CHECK-NEXT: Name:{{.* }}(2)
12 # CHECK-NEXT: Name:{{.* }}(3)
14 # CHECK-NEXT: Name:{{.* }}(4)
16 # CHECK-NEXT: Name:{{.* }}(5)
18 # CHECK-NEXT: Name:{{.* }}(6)
20 # CHECK-NEXT: Name:{{.* }}(7)
22 # CHECK-NEXT: Name:{{.* }}(8)
24 # CHECK-NEXT: Name:{{.* }}(9)
26 # CHECK-NEXT: Name:{{.* }}(10)
28 # CHECK-NEXT: Name:{{.* }}(11)
30 # CHECK: Name: .shstrtab
31 # CHECK: SectionData (
32 # CHECK-NEXT: |..nobits..regula|
33 # CHECK-NEXT: |r..gnu.version_r|
34 # CHECK-NEXT: |..group..gnu.ver|
35 # CHECK-NEXT: |sion..dynsym..gn|
36 # CHECK-NEXT: |u.version_d..dyn|
37 # CHECK-NEXT: |amic..shstrtab..|
38 # CHECK-NEXT: |strtab..symtab..|
73 - Name: .gnu.version_r
75 Info: 0x0000000000000001
78 - Name: .gnu.version_d
80 Info: 0x0000000000000001