27 lines · plain
1## Test that "llvm-objdump --traceback-table" warn when a function name's length is 0.2 3# RUN: yaml2obj %s -o %t.o4# 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 %s6 7--- !XCOFF8FileHeader:9 MagicNumber: 0x1DF10Sections:11 - Name: .text12 Flags: [ STYP_TEXT ]13 SectionData: "9421ffc0000000000000204080000201000000000000000400004164644e756d00000000"14Symbols:15 - Name: .AddNum16 Value: 017 Section: .text18 Type: 0x2019 StorageClass: C_EXT20 AuxEntries:21 - Type: AUX_CSECT22 SectionOrLength: 0x2423 SymbolAlignmentAndType: 0x2124 StorageMappingClass: XMC_PR25 26# WARN: warning: '[[FILE]]': the length of the function name must be greater than zero if the isFuncNamePresent bit is set in the traceback table27