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-A 4 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 9 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-B 13 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 18