| 1 |
# RUN: llvm-mc %s -filetype obj -triple x86_64-linux-gnu -o - \ |
| 2 |
# RUN: | llvm-dwarfdump -verify - 2>&1 \ |
| 3 |
# RUN: | FileCheck %s --implicit-check-not=error --implicit-check-not=warning |
| 4 |
|
| 5 |
# CHECK: Verifying dwo Units... |
| 6 |
# CHECK: No errors. |
| 7 |
|
| 8 |
.section .debug_info.dwo,"e",@progbits |
| 9 |
.long .Ldebug_info_dwo_end6-.Ldebug_info_dwo_start6 # Length of Unit |
| 10 |
.Ldebug_info_dwo_start6: |
| 11 |
.short 4 # DWARF version number |
| 12 |
.long 0 # Offset Into Abbrev. Section |
| 13 |
.byte 8 # Address Size (in bytes) |
| 14 |
.byte 1 # Abbrev [4] DW_TAG_compile_unit |
| 15 |
.byte 1 # DW_AT_ranges |
| 16 |
.Ldebug_info_dwo_end6: |
| 17 |
.section .debug_abbrev.dwo,"e",@progbits |
| 18 |
.byte 1 # Abbreviation Code |
| 19 |
.byte 17 # DW_TAG_compile_unit |
| 20 |
.byte 0 # DW_CHILDREN_no |
| 21 |
.byte 85 # DW_AT_ranges |
| 22 |
.byte 23 # DW_FORM_sec_offset |
| 23 |
.byte 0 # EOM(1) |
| 24 |
.byte 0 # EOM(2) |
| 25 |
.byte 0 # EOM(3) |