Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / debug_loc_base_address.s
blob0140af64509b489e206e71dda9702da0f29b9e58
1 # RUN: llvm-mc %s -filetype obj -triple x86_64-pc-linux -o %t.o
2 # RUN: llvm-dwarfdump --debug-loc -v %t.o | FileCheck %s
4 # CHECK: .debug_loc contents:
5 # CHECK-NEXT: 0x00000000:
6 # CHECK-NEXT: (0xffffffffffffffff, 0x000000000000002a)
7 # CHECK-NEXT: (0x0000000000000003, 0x0000000000000007)
8 # CHECK-NEXT: => [0x000000000000002d, 0x0000000000000031): DW_OP_consts +3, DW_OP_stack_value
10 .section .debug_loc,"",@progbits
11 .quad 0xffffffffffffffff
12 .quad 42
13 .quad 3
14 .quad 7
15 .short 3 # Loc expr size
16 .byte 17 # DW_OP_consts
17 .byte 3 # 3
18 .byte 159 # DW_OP_stack_value
19 .quad 0
20 .quad 0
21 .section .debug_abbrev,"",@progbits
22 .byte 1 # Abbreviation Code
23 .byte 17 # DW_TAG_compile_unit
24 .byte 0 # DW_CHILDREN_no
25 .byte 0 # EOM(1)
26 .byte 0 # EOM(2)
27 .byte 0 # EOM(3)
28 .section .debug_info,"",@progbits
29 .long .Ldebug_info_end0-.Ldebug_info_start0 # Length of Unit
30 .Ldebug_info_start0:
31 .short 4 # DWARF version number
32 .long .debug_abbrev # Offset Into Abbrev. Section
33 .byte 8 # Address Size (in bytes)
34 .byte 1 # Abbrev [1] DW_TAG_compile_unit
35 .Ldebug_info_end0: