llvm-6502/test/tools/llvm-readobj/coff-file-sections-reading.test
David Majnemer c7210b3f0b llvm-readobj: pretty-print special COFF section names
Print IMAGE_SYM_DEBUG and the like instead of (-2).

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@218172 91177308-0d34-0410-b5e6-96231b3b80d8
2014-09-20 00:25:06 +00:00

19 lines
501 B
Plaintext

RUN: yaml2obj %p/Inputs/file-multiple-aux-records.yaml | llvm-readobj -t - | FileCheck %s
CHECK: Symbols [
CHECK: Symbol {
CHECK: Name: .file
CHECK: Value: 0
CHECK: Section: IMAGE_SYM_DEBUG (-2)
CHECK: BaseType: Null (0x0)
CHECK: ComplexType: Null (0x0)
CHECK: StorageClass: File (0x67)
CHECK: AuxSymbolCount: 3
CHECK: AuxFileRecord {
CHECK: FileName: first-section-has-eighteen-characters.asm
CHECK: }
CHECK-NOT: AuxFileRecord {
CHECK: }
CHECK: ]