1# REQUIRES: x86-registered-target 2 3# RUN: llvm-mc --filetype=obj --triple=x86_64-pc-linux %s -o %t.o -g 4 5# RUN: llvm-dwarfdump -v %t.o | FileCheck %s 6 7# CHECK: [1] DW_TAG_compile_unit DW_CHILDREN_no 8# CHECK-NEXT: DW_AT_language DW_FORM_implicit_const 29 9 10# CHECK: 0x0000000c: DW_TAG_compile_unit [1] 11# CHECK-NEXT: DW_AT_language [DW_FORM_implicit_const] (DW_LANG_C11) 12 13 .section .debug_info,"",@progbits 14.Ldebug_info0: 15 .long .Ldebug_info0_end - .Ldebug_info0_start # Length of Compilation Unit Info 16.Ldebug_info0_start: 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) 22 # DW_AT_language 23.Ldebug_info0_end: 24 .section .debug_abbrev,"",@progbits 25.Ldebug_abbrev0: 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) 31 .sleb128 0x1d 32 .byte 0 33 .byte 0 34 .byte 0 35