30 lines · plain
1# RUN: llvm-mc %s -filetype obj -triple x86_64-pc-linux -o %t.o2# RUN: llvm-dwarfdump -debug-addr %t.o | FileCheck %s3 4# CHECK: .debug_addr contents5# CHECK-NEXT: length = 0x00000014, format = DWARF32, version = 0x0005, addr_size = 0x08, seg_size = 0x006# CHECK-NEXT: Addrs: [7# CHECK-NEXT: 0x00000001000000008# CHECK-NEXT: 0x00000001000000019# CHECK-NEXT: ]10# CHECK-NOT: {{.}}11 12 .section .debug_abbrev,"",@progbits13 .byte 1 # Abbreviation Code14 .section .debug_info,"",@progbits15.Lcu_begin0:16 .long 8 # Length of Unit17 .short 5 # DWARF version number18 .byte 1 # DWARF unit type19 .byte 8 # Address Size (in bytes)20 .long .debug_abbrev # Offset Into Abbrev. Section21 22 .section .debug_addr,"",@progbits23.Ldebug_addr0:24 .long 20 # unit_length = .short + .byte + .byte + .quad + .quad25 .short 5 # version26 .byte 8 # address_size27 .byte 0 # segment_selector_size28 .quad 0x000000010000000029 .quad 0x000000010000000130