1# RUN: llvm-mc %s -filetype obj -triple x86_64-apple-darwin -o - \
2# RUN: | not llvm-dwarfdump --verify --debug-info - \
3# RUN: | FileCheck %s
4# CHECK: error: Compilation unit without DIE.
5
6        .section        __DWARF,__debug_info,regular,debug
7.long 8  # CU length
8.short 3 # Version
9.long 0  # Abbrev offset
10.byte 4  # AddrSize
11.byte 1  # Abbrev 1
12.long 7  # Unit lengthh...
13.short 3
14.long 0
15.byte 4
16        .section        __DWARF,__debug_abbrev,regular,debug
17.byte 1    # Abbrev code
18.byte 0x11 # TAG_compile_unit
19.byte 0    # no children
20.byte 0    # no attributes
21.byte 0
22