1## Test that "llvm-objdump --traceback-table" warn when a function name's length is 0. 2 3# RUN: yaml2obj %s -o %t.o 4# RUN: llvm-objdump -d --traceback-table --symbol-description %t.o 2>&1 |\ 5# RUN: FileCheck -DFILE=%t.o --implicit-check-not="warning:" --check-prefixes=WARN %s 6 7--- !XCOFF 8FileHeader: 9 MagicNumber: 0x1DF 10Sections: 11 - Name: .text 12 Flags: [ STYP_TEXT ] 13 SectionData: "9421ffc0000000000000204080000201000000000000000400004164644e756d00000000" 14Symbols: 15 - Name: .AddNum 16 Value: 0 17 Section: .text 18 Type: 0x20 19 StorageClass: C_EXT 20 AuxEntries: 21 - Type: AUX_CSECT 22 SectionOrLength: 0x24 23 SymbolAlignmentAndType: 0x21 24 StorageMappingClass: XMC_PR 25 26# WARN: warning: '[[FILE]]': the length of the function name must be greater than zero if the isFuncNamePresent bit is set in the traceback table 27