1 ## Test that the string table works well for long symbol names.
2 # RUN: yaml2obj %s -o %t
3 # RUN: llvm-readobj --symbols --string-table %t | FileCheck %s
5 # CHECK: AddressSize: 32bit
6 # CHECK-NEXT: Symbols [
9 # CHECK-NEXT: Name: .symname
10 # CHECK-NEXT: Value: 0x0
11 # CHECK-NEXT: Section: N_UNDEF
12 # CHECK-NEXT: Type: 0x0
13 # CHECK-NEXT: StorageClass: C_NULL (0x0)
14 # CHECK-NEXT: NumberOfAuxEntries: 0
16 # CHECK-NEXT: Symbol {
17 # CHECK-NEXT: Index: 1
18 # CHECK-NEXT: Name: .longname
19 # CHECK-NEXT: Value: 0x0
20 # CHECK-NEXT: Section: N_UNDEF
21 # CHECK-NEXT: Type: 0x0
22 # CHECK-NEXT: StorageClass: C_NULL (0x0)
23 # CHECK-NEXT: NumberOfAuxEntries: 0
26 # CHECK-NEXT: StringTable {
27 # CHECK-NEXT: Length: 14
28 # CHECK-NEXT: [ 4] .longname