brintos

brintos / llvm-project-archived public Read only

0
0
Text · 720 B · 349067f Raw
18 lines · plain
1RUN: llvm-mc %S/debugloc.s -filetype obj -triple x86_64-linux-elf -o - \2RUN: | llvm-dwarfdump --debug-loc=0 - \3RUN: | FileCheck %s --check-prefix=CHECK-A4 5# CHECK-A: .debug_loc contents:6# CHECK-A: 0x00000000:7# CHECK-A-NEXT: (0x0000000000000000, 0x0000000000000003): DW_OP_reg5 RDI8# CHECK-A-NEXT: (0x0000000000000003, 0x0000000000000004): DW_OP_reg0 RAX9 10RUN: llvm-mc %S/debugloc.s -filetype obj -triple x86_64-linux-elf -o - \11RUN: | llvm-dwarfdump --debug-loc=0x36 - \12RUN: | FileCheck %s --check-prefix=CHECK-B13 14# CHECK-B: .debug_loc contents:15# CHECK-B: 0x00000036:16# CHECK-B-NEXT: (0x0000000000000010, 0x0000000000000013): DW_OP_reg5 RDI17# CHECK-B-NEXT: (0x0000000000000013, 0x0000000000000014): DW_OP_reg0 RAX18