30 lines · plain
1# RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o - | \2# RUN: llvm-dwarfdump -debug-info - | \3# RUN: FileCheck %s4 5 .section .debug_abbrev.dwo,"e",@progbits6 .byte 0x01 # Abbrev code7 .byte 0x11 # DW_TAG_compile_unit8 .byte 0x00 # DW_CHILDREN_no9 .byte 0x13 # DW_AT_language10 .byte 0x05 # DW_FORM_data211 .byte 0x00 # EOM(1)12 .byte 0x00 # EOM(2)13 .byte 0x00 # EOM(3)14 15# The CU was considered valid even though there were some required fields16# missing in the header.17 .section .debug_info.dwo,"e",@progbits18 .long .CUend - .CUver # Length of Unit19.CUver:20 .short 5 # DWARF version number21 .byte 5 # DW_UT_split_compile22 .byte 4 # Address Size (in bytes)23 # .long 0 # Missing: Offset Into Abbrev Section24 # .quad 0 # Missing: DWO id25 .byte 1 # Abbreviation code26 .short 4 # DW_LANG_C_plus_plus27.CUend:28 29# CHECK-NOT: Compile Unit:30