[Alignment][NFC] Instructions::getLoadStoreAlignment
[llvm-complete.git] / test / tools / llvm-dwarfdump / X86 / debug_loc_dwo.s
blobb1555df02ad6f2119d528b0c04c35bea595de8d5
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: Addr idx 1 (w/ length 16): DW_OP_reg5 RDI
11 .section .debug_loc.dwo,"",@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
16 .byte 0x01 # Index
17 .long 0x10 # Length
18 .short 1 # Loc expr size
19 .byte 85 # DW_OP_reg5
20 .byte 0 # DW_LLE_end_of_list