Follow up to d0858bffa11, add missing REQUIRES x86
[llvm-project.git] / llvm / test / tools / llvm-dwarfdump / X86 / debug_loc_offset.test
blob349067f14e6221184ea107ca4a04dd043b9ff1f6
1 RUN: llvm-mc %S/debugloc.s -filetype obj -triple x86_64-linux-elf -o - \
2 RUN: | llvm-dwarfdump --debug-loc=0 - \
3 RUN: | FileCheck %s --check-prefix=CHECK-A
5 # CHECK-A: .debug_loc contents:
6 # CHECK-A: 0x00000000:
7 # CHECK-A-NEXT: (0x0000000000000000, 0x0000000000000003): DW_OP_reg5 RDI
8 # CHECK-A-NEXT: (0x0000000000000003, 0x0000000000000004): DW_OP_reg0 RAX
10 RUN: llvm-mc %S/debugloc.s -filetype obj -triple x86_64-linux-elf -o - \
11 RUN: | llvm-dwarfdump --debug-loc=0x36 - \
12 RUN: | FileCheck %s --check-prefix=CHECK-B
14 # CHECK-B: .debug_loc contents:
15 # CHECK-B: 0x00000036:
16 # CHECK-B-NEXT: (0x0000000000000010, 0x0000000000000013): DW_OP_reg5 RDI
17 # CHECK-B-NEXT: (0x0000000000000013, 0x0000000000000014): DW_OP_reg0 RAX