1# RUN: llvm-mc %s -filetype obj -triple x86_64-pc-linux -o - | \ 2# RUN: llvm-dwarfdump -debug-addr - | \ 3# RUN: FileCheck %s 4 5# CHECK: .debug_addr contents: 6# CHECK-NEXT: Address table header: 7# CHECK-SAME: length = 0x000000000000000c, 8# CHECK-SAME: format = DWARF64, 9# CHECK-SAME: version = 0x0005, 10# CHECK-SAME: addr_size = 0x04, 11# CHECK-SAME: seg_size = 0x00 12# CHECK-NEXT: Addrs: [ 13# CHECK-NEXT: 0x00000000 14# CHECK-NEXT: 0x00001000 15# CHECK-NEXT: ] 16 17 .section .debug_addr,"",@progbits 18 .long 0xffffffff # DWARF64 mark 19 .quad .LAddr0end-.LAddr0version # Length 20.LAddr0version: 21 .short 5 # Version 22 .byte 4 # Address size 23 .byte 0 # Segment selector size 24 .long 0x00000000 25 .long 0x00001000 26.LAddr0end: 27