1 ## Test that llvm-objdump can handle SHN_XINDEX. The relocation points to a section
2 ## symbol that has st_shndx == SHN_XINDEX. To print the section name llvm-objdump
3 ## has to use the SHT_SYMTAB_SHNDX section.
5 # RUN: yaml2obj %s -o %t
6 # RUN: llvm-objdump -r %t | FileCheck %s
8 # CHECK: RELOCATION RECORDS FOR [.text]:
9 # CHECK-NEXT: OFFSET TYPE VALUE
10 # CHECK-NEXT: 0000000000000000 R_X86_64_32 bar
25 - Offset: 0x0000000000000000
31 Type: SHT_SYMTAB_SHNDX