1 # RUN: llvm-mc %s -filetype obj -triple x86_64-pc-linux -o %t.o
2 # RUN: llvm-dwarfdump -debug-addr %t.o | FileCheck %s
4 # CHECK: .debug_addr contents
5 # CHECK-NEXT: length = 0x00000014, version = 0x0005, addr_size = 0x08, seg_size = 0x00
7 # CHECK-NEXT: 0x0000000100000000
8 # CHECK-NEXT: 0x0000000100000001
12 .section .debug_abbrev,"",@progbits
13 .byte 1 # Abbreviation Code
14 .section .debug_info,"",@progbits
16 .long 8 # Length of Unit
17 .short 5 # DWARF version number
18 .byte 1 # DWARF unit type
19 .byte 8 # Address Size (in bytes)
20 .long .debug_abbrev # Offset Into Abbrev. Section
22 .section .debug_addr,"",@progbits
24 .long 20 # unit_length = .short + .byte + .byte + .quad + .quad
26 .byte 8 # address_size
27 .byte 0 # segment_selector_size
28 .quad 0x0000000100000000
29 .quad 0x0000000100000001