1 # RUN: llvm-mc %s -filetype obj -triple x86_64-pc-linux -o %t.o
2 # RUN: llvm-dwarfdump --debug-loc %t.o | FileCheck %s
4 # We make sure that llvm-dwarfdump can dump the .debug_loc.dwo section
5 # without requiring a compilation unit in the .debug_info.dwo section.
7 # CHECK: .debug_loc.dwo contents:
8 # CHECK-NEXT: 0x00000000:
9 # CHECK-NEXT: DW_LLE_startx_length (0x00000001, 0x00000010): DW_OP_reg5 RDI
11 .section .debug_loc.dwo,"e",@progbits
12 # One location list. The pre-DWARF v5 implementation only recognizes
13 # DW_LLE_startx_length as an entry kind in .debug_loc.dwo (besides
14 # end_of_list), which is what llvm generates as well.
15 .byte 3 # DW_LLE_startx_length
18 .short 1 # Loc expr size
20 .byte 0 # DW_LLE_end_of_list