1# RUN: llvm-mc -triple x86_64-unknown-linux %s -filetype=obj -o - | \ 2# RUN: llvm-dwarfdump -debug-info - | \ 3# RUN: FileCheck %s 4 5 .section .debug_abbrev.dwo,"e",@progbits 6 .byte 0x01 # Abbrev code 7 .byte 0x11 # DW_TAG_compile_unit 8 .byte 0x00 # DW_CHILDREN_no 9 .byte 0x13 # DW_AT_language 10 .byte 0x05 # DW_FORM_data2 11 .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 fields 16# missing in the header. 17 .section .debug_info.dwo,"e",@progbits 18 .long .CUend - .CUver # Length of Unit 19.CUver: 20 .short 5 # DWARF version number 21 .byte 5 # DW_UT_split_compile 22 .byte 4 # Address Size (in bytes) 23 # .long 0 # Missing: Offset Into Abbrev Section 24 # .quad 0 # Missing: DWO id 25 .byte 1 # Abbreviation code 26 .short 4 # DW_LANG_C_plus_plus 27.CUend: 28 29# CHECK-NOT: Compile Unit: 30