1 ## Check we do not fail to dump the section headers when
2 ## a .shstrtab section does not have a SHT_STRTAB type.
4 # RUN: yaml2obj %s -o %t1
5 # RUN: llvm-readobj -S %t1 | FileCheck %s --check-prefix LLVM
6 # RUN: llvm-readelf -S %t1 | FileCheck %s --check-prefix GNU
8 # LLVM: Name: .shstrtab
9 # LLVM-NEXT: Type: SHT_PROGBITS
12 # GNU: [ 1] .shstrtab PROGBITS