Skip to content

Commit ae51fde

Browse files
[Orc] Extend lli debug support tests to JITLink
1 parent 99a6d00 commit ae51fde

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

llvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
; RUN: lli --jit-kind=orc-lazy --per-module-lazy \
22
; RUN: --generate=__dump_jit_debug_descriptor %s | FileCheck %s
33
;
4+
; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=jitlink \
5+
; RUN: --generate=__dump_jit_debug_descriptor %s | FileCheck %s
6+
;
47
; CHECK: Reading __jit_debug_descriptor at 0x{{.*}}
58
; CHECK: Version: 1
69
; CHECK: Action: JIT_REGISTER_FN

llvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
; RUN: lli --jit-kind=orc-lazy --per-module-lazy \
22
; RUN: --generate=__dump_jit_debug_objects %s | llvm-dwarfdump --diff - | FileCheck %s
33
;
4+
; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=jitlink \
5+
; RUN: --generate=__dump_jit_debug_objects %s | llvm-dwarfdump --diff - | FileCheck %s
6+
;
47
; CHECK: -: file format elf64-x86-64
58
; CHECK: .debug_info contents:
69
; CHECK: 0x00000000: Compile Unit: length = 0x00000047, format = DWARF32, version = 0x0004, abbr_offset = 0x0000, addr_size = 0x08 (next unit at 0x0000004b)

0 commit comments

Comments
 (0)