mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2024-10-18 18:42:46 +02:00
[Orc] Test DebugObjectManagerPlugin fills in load-address for .text section of in-memory ELF debug object
This commit is contained in:
parent
9a8ecaf741
commit
b4f49cdcc9
@ -1,4 +1,4 @@
|
||||
; RUN: lli --jit-kind=orc-lazy --per-module-lazy \
|
||||
; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=rtdyld \
|
||||
; RUN: --generate=__dump_jit_debug_descriptor %s | FileCheck %s
|
||||
;
|
||||
; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=jitlink \
|
||||
|
@ -1,4 +1,6 @@
|
||||
; RUN: lli --jit-kind=orc-lazy --per-module-lazy \
|
||||
; In-memory debug-object contains some basic DWARF
|
||||
;
|
||||
; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=rtdyld \
|
||||
; RUN: --generate=__dump_jit_debug_objects %s | llvm-dwarfdump --diff - | FileCheck %s
|
||||
;
|
||||
; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=jitlink \
|
||||
@ -30,6 +32,18 @@
|
||||
; CHECK: DW_AT_byte_size (0x04)
|
||||
; CHECK: NULL
|
||||
|
||||
; Text section of the in-memory debug-object has a non-null load-address
|
||||
;
|
||||
; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=rtdyld \
|
||||
; RUN: --generate=__dump_jit_debug_objects %s | llvm-objdump --section-headers - | \
|
||||
; RUN: FileCheck --check-prefix=CHECK_LOAD_ADDR %s
|
||||
;
|
||||
; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=jitlink \
|
||||
; RUN: --generate=__dump_jit_debug_objects %s | llvm-objdump --section-headers - | \
|
||||
; RUN: FileCheck --check-prefix=CHECK_LOAD_ADDR %s
|
||||
;
|
||||
; CHECK_LOAD_ADDR-NOT: {{[0-9]*}} .text {{.*}} 0000000000000000 TEXT
|
||||
|
||||
target triple = "x86_64-unknown-unknown-elf"
|
||||
|
||||
; Built-in symbol provided by the JIT
|
||||
|
Loading…
Reference in New Issue
Block a user