| 1 |
# RUN: llvm-mc %s -filetype obj -triple i386-pc-linux -o %t.o |
| 2 |
# RUN: llvm-dwarfdump --debug-addr %t.o | FileCheck %s |
| 3 |
|
| 4 |
# CHECK: .debug_addr contents |
| 5 |
# CHECK-NEXT: Addrs: [ |
| 6 |
# CHECK-NEXT: 0x00000000 |
| 7 |
# CHECK-NEXT: 0x00000001 |
| 8 |
|
| 9 |
.section .debug_abbrev,"",@progbits |
| 10 |
.byte 1 # Abbreviation Code |
| 11 |
.section .debug_info,"",@progbits |
| 12 |
.Lcu_begin0: |
| 13 |
.long 7 # Length of Unit |
| 14 |
.short 4 # DWARF version number |
| 15 |
.long .debug_abbrev # Offset Into Abbrev. Section |
| 16 |
.byte 4 # Address Size (in bytes) |
| 17 |
.section .debug_addr,"",@progbits |
| 18 |
.long 0x00000000 |
| 19 |
.long 0x00000001 |