20 lines · plain
1# RUN: llvm-mc %s -filetype obj -triple i386-pc-linux -o %t.o2# RUN: llvm-dwarfdump --debug-addr %t.o | FileCheck %s3 4# CHECK: .debug_addr contents5# CHECK-NEXT: Addrs: [6# CHECK-NEXT: 0x000000007# CHECK-NEXT: 0x000000018 9 .section .debug_abbrev,"",@progbits10 .byte 1 # Abbreviation Code11 .section .debug_info,"",@progbits12.Lcu_begin0:13 .long 7 # Length of Unit14 .short 4 # DWARF version number15 .long .debug_abbrev # Offset Into Abbrev. Section16 .byte 4 # Address Size (in bytes)17 .section .debug_addr,"",@progbits18 .long 0x0000000019 .long 0x0000000120