1 # REQUIRES: x86-registered-target
3 # RUN: llvm-mc --filetype=obj --triple=x86_64-pc-linux %s -o %t.o -g
5 # RUN: llvm-dwarfdump -v %t.o | FileCheck %s
7 # CHECK: [1] DW_TAG_compile_unit DW_CHILDREN_no
8 # CHECK-NEXT: DW_AT_language DW_FORM_implicit_const 29
10 # CHECK: 0x0000000c: DW_TAG_compile_unit [1]
11 # CHECK-NEXT: DW_AT_language [DW_FORM_implicit_const] (DW_LANG_C11)
13 .section .debug_info,"",@progbits
15 .long .Ldebug_info0_end - .Ldebug_info0_start # Length of Compilation Unit Info
17 .value 0x5 # DWARF version number
18 .byte 0x1 # DW_UT_compile
19 .byte 0x8 # Pointer Size (in bytes)
20 .long .Ldebug_abbrev0 # Offset Into Abbrev. Section
21 .uleb128 0x1 # (DIE DW_TAG_compile_unit)
24 .section .debug_abbrev,"",@progbits
26 .uleb128 0x1 # (abbrev code)
27 .uleb128 0x11 # (TAG: DW_TAG_compile_unit)
28 .byte 0x0 # DW_children_no
29 .uleb128 0x13 # (DW_AT_language)
30 .uleb128 0x21 # (DW_FORM_implicit_const)