1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2024-10-19 02:52:53 +02:00

[Orc] Extend lli debug support tests to JITLink

This commit is contained in:
Stefan Gränitz 2021-03-02 14:03:29 +01:00
parent 7dea8abe52
commit 4d74454f3a
2 changed files with 6 additions and 0 deletions

View File

@ -1,6 +1,9 @@
; RUN: lli --jit-kind=orc-lazy --per-module-lazy \
; RUN: --generate=__dump_jit_debug_descriptor %s | FileCheck %s
;
; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=jitlink \
; RUN: --generate=__dump_jit_debug_descriptor %s | FileCheck %s
;
; CHECK: Reading __jit_debug_descriptor at 0x{{.*}}
; CHECK: Version: 1
; CHECK: Action: JIT_REGISTER_FN

View File

@ -1,6 +1,9 @@
; RUN: lli --jit-kind=orc-lazy --per-module-lazy \
; RUN: --generate=__dump_jit_debug_objects %s | llvm-dwarfdump --diff - | FileCheck %s
;
; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=jitlink \
; RUN: --generate=__dump_jit_debug_objects %s | llvm-dwarfdump --diff - | FileCheck %s
;
; CHECK: -: file format elf64-x86-64
; CHECK: .debug_info contents:
; CHECK: 0x00000000: Compile Unit: length = 0x00000047, format = DWARF32, version = 0x0004, abbr_offset = 0x0000, addr_size = 0x08 (next unit at 0x0000004b)