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

llvm-svn: 218172
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: ]