[llvm] 2131eb6 - [ORC] DebugObjectManagerPlugin tests can use lli in ORC greedy mode

Stefan Gränitz via llvm-commits llvm-commits at lists.llvm.org
Wed Sep 22 09:27:38 PDT 2021


Author: Stefan Gränitz
Date: 2021-09-22T18:26:52+02:00
New Revision: 2131eb696386241e77f257ccc57e1a7955869971

URL: https://github.com/llvm/llvm-project/commit/2131eb696386241e77f257ccc57e1a7955869971
DIFF: https://github.com/llvm/llvm-project/commit/2131eb696386241e77f257ccc57e1a7955869971.diff

LOG: [ORC] DebugObjectManagerPlugin tests can use lli in ORC greedy mode

Initially, lli only supported lazy mode for ORC. Greedy mode was added with e1579894d205 and it's the default setting now. DebugObjectManagerPlugin tests don't rely on laziness, so we can switch them to greedy in order to avoid some unnecessary complexity.

Added: 
    

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

Removed: 
    


################################################################################
diff  --git a/llvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll b/llvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll
index 64a8c02155e4..d480c6502556 100644
--- a/llvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll
+++ b/llvm/test/ExecutionEngine/OrcLazy/debug-descriptor-elf-minimal.ll
@@ -1,9 +1,9 @@
 ; REQUIRES: native && target-x86_64
 
-; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=rtdyld \
+; RUN: lli --jit-linker=rtdyld \
 ; RUN:     --generate=__dump_jit_debug_descriptor %s | FileCheck %s
 ;
-; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=jitlink \
+; RUN: lli --jit-linker=jitlink \
 ; RUN:     --generate=__dump_jit_debug_descriptor %s | FileCheck %s
 ;
 ; CHECK: Reading __jit_debug_descriptor at 0x{{.*}}

diff  --git a/llvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll b/llvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll
index 5efe16c24bf3..405efae44059 100644
--- a/llvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll
+++ b/llvm/test/ExecutionEngine/OrcLazy/debug-objects-elf-minimal.ll
@@ -2,10 +2,10 @@
 
 ; In-memory debug-object contains some basic DWARF
 ;
-; RUN: lli --jit-kind=orc-lazy --per-module-lazy --jit-linker=rtdyld \
+; RUN: lli --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 \
+; RUN: lli --jit-linker=jitlink \
 ; RUN:     --generate=__dump_jit_debug_objects %s | llvm-dwarfdump --
diff  - | FileCheck %s
 ;
 ; CHECK: -:	file format elf64-x86-64
@@ -36,11 +36,11 @@
 
 ; 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: lli --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: lli --jit-linker=jitlink \
 ; RUN:     --generate=__dump_jit_debug_objects %s | llvm-objdump --section-headers - | \
 ; RUN:     FileCheck --check-prefix=CHECK_LOAD_ADDR %s
 ;


        


More information about the llvm-commits mailing list