24 lines · plain
1# RUN: llvm-mc %s -filetype obj -triple x86_64-apple-darwin -o - \2# RUN: | not llvm-dwarfdump --verify --debug-info - \3# RUN: | FileCheck %s4# CHECK: error: unable to decode LEB128 at offset 0x00000005: malformed uleb128, extends past end5# CHECK: error: Compilation unit without DIE.6 7 .section __DWARF,__debug_info,regular,debug8.long 8 # CU length9.short 3 # Version10.long 0 # Abbrev offset11.byte 4 # AddrSize12.byte 1 # Abbrev 113.long 7 # Unit lengthh...14.short 315.long 016.byte 417 .section __DWARF,__debug_abbrev,regular,debug18.byte 1 # Abbrev code19.byte 0x11 # TAG_compile_unit20.byte 0 # no children21.byte 0 # EOM(1)22.byte 0 # EOM(2)23 # Intentionally missing EOM(3)24