35 lines · plain
1# REQUIRES: x86-registered-target2 3# RUN: llvm-mc --filetype=obj --triple=x86_64-pc-linux %s -o %t.o -g4 5# RUN: llvm-dwarfdump -v %t.o | FileCheck %s6 7# CHECK: [1] DW_TAG_compile_unit DW_CHILDREN_no8# CHECK-NEXT: DW_AT_language DW_FORM_implicit_const 299 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,"",@progbits14.Ldebug_info0:15 .long .Ldebug_info0_end - .Ldebug_info0_start # Length of Compilation Unit Info16.Ldebug_info0_start:17 .value 0x5 # DWARF version number18 .byte 0x1 # DW_UT_compile19 .byte 0x8 # Pointer Size (in bytes)20 .long .Ldebug_abbrev0 # Offset Into Abbrev. Section21 .uleb128 0x1 # (DIE DW_TAG_compile_unit)22 # DW_AT_language23.Ldebug_info0_end:24 .section .debug_abbrev,"",@progbits25.Ldebug_abbrev0:26 .uleb128 0x1 # (abbrev code)27 .uleb128 0x11 # (TAG: DW_TAG_compile_unit)28 .byte 0x0 # DW_children_no29 .uleb128 0x13 # (DW_AT_language)30 .uleb128 0x21 # (DW_FORM_implicit_const)31 .sleb128 0x1d32 .byte 033 .byte 034 .byte 035