brintos

brintos / llvm-project-archived public Read only

0
0
Text · 1.7 KiB · a354016 Raw
50 lines · plain
1# REQUIRES: x862# RUN: llvm-mc -filetype=obj -triple=x86_64-pc-linux %s -o %t.o3# RUN: ld.lld --gdb-index %t.o -o %t4# RUN: llvm-dwarfdump -gdb-index %t | FileCheck %s5 6# CHECK:       Address area offset = 0x28, has 1 entries:7# CHECK-NEXT:    Low/High address = [0x201120, 0x201121) (Size: 0x1), CU id = 08 9  .text10  .globl main11main:                            # @main12.Lfunc_begin0:13  retq14.Lfunc_end0:15  .section  .debug_abbrev,"",@progbits16  .byte  1                       # Abbreviation Code17  .byte  17                      # DW_TAG_compile_unit18  .byte  0                       # DW_CHILDREN_no19  .byte  115                     # DW_AT_addr_base20  .byte  23                      # DW_FORM_sec_offset21  .byte  17                      # DW_AT_low_pc22  .byte  27                      # DW_FORM_addrx23  .byte  18                      # DW_AT_high_pc24  .byte  6                       # DW_FORM_data425  .byte  0                       # EOM(1)26  .byte  0                       # EOM(2)27  .byte  0                       # EOM(3)28  29  .section  .debug_info,"",@progbits30.Lcu_begin0:31  .long  .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit32.Ldebug_info_start0:33  .short  5                      # DWARF version number34  .byte  1                       # DWARF Unit Type35  .byte  8                       # Address Size (in bytes)36  .long  .debug_abbrev           # Offset Into Abbrev. Section37  .byte  1                       # Abbrev [1] 0xc:0x2b DW_TAG_compile_unit38  .long  .Laddr_table_base0      # DW_AT_addr_base39  .byte  0                       # DW_AT_low_pc40  .long  .Lfunc_end0-.Lfunc_begin0 # DW_AT_high_pc41.Ldebug_info_end0:42 43  .section  .debug_addr,"",@progbits44  .long  1245  .short  546  .byte  847  .byte  048.Laddr_table_base0:49  .quad  .Lfunc_begin050