brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.3 KiB · 93de3a7 Raw
39 lines · plain
1# RUN: llvm-mc %s -filetype obj -triple x86_64-unknown-elf -o - | \2# RUN:   llvm-dwarfdump -debug-info - | \3# RUN:   FileCheck %s4 5        .section .debug_abbrev,"",@progbits6        .byte 0x01  # Abbrev code7        .byte 0x11  # DW_TAG_compile_unit8        .byte 0x00  # DW_CHILDREN_no9        .byte 0x13  # DW_AT_language10        .byte 0x05  # DW_FORM_data211        .byte 0x00  # EOM(1)12        .byte 0x00  # EOM(2)13        .byte 0x00  # EOM(3)14        15        .section .debug_info,"",@progbits16# CHECK: .debug_info contents:17# CHECK-NEXT: 0x00000000: Compile Unit:18DI_4_64_start:19        .long 0xffffffff       # DWARF64 mark20        .quad DI_4_64_end - DI_4_64_version # Length of Unit21# CHECK-SAME: length = 0x000000000000000f22# CHECK-SAME: format = DWARF6423DI_4_64_version:24        .short 4               # DWARF version number25# CHECK-SAME: version = 0x000426        .quad .debug_abbrev    # Offset Into Abbrev. Section27# CHECK-SAME: abbr_offset = 0x000028        .byte 8                # Address Size (in bytes)29# CHECK-SAME: addr_size = 0x0830# CHECK-SAME: (next unit at 0x0000001b)31 32        .byte 1                # Abbreviation code33# CHECK: 0x00000017: DW_TAG_compile_unit34        .short 4               # DW_LANG_C_plus_plus35# CHECK-NEXT: DW_AT_language (DW_LANG_C_plus_plus)36        .byte 0                # NULL37DI_4_64_end:38 39