Author: Stefan Gränitz
Date: 2021-09-22T14:46:19+02:00
New Revision: 9689c1b7bb77d65e8acc9a13e5e416803d38b02f

URL: 
https://github.com/llvm/llvm-project/commit/9689c1b7bb77d65e8acc9a13e5e416803d38b02f
DIFF: 
https://github.com/llvm/llvm-project/commit/9689c1b7bb77d65e8acc9a13e5e416803d38b02f.diff

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

At first, lli only supported lazy mode for ORC. Greedy mode was added with 
e1579894d205 and is the default settings now. JITLoaderGDB tests don't rely on 
laziness, so we can switch them to greedy and remove some complexity.

Added: 
    

Modified: 
    lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test
    lldb/test/Shell/Breakpoint/jit-loader_rtdyld_elf.test

Removed: 
    


################################################################################
diff  --git a/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test 
b/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test
index ccaf9d4b96c2e..bbb4830a416b5 100644
--- a/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test
+++ b/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test
@@ -6,8 +6,7 @@
 # RUN: %clang -g -S -emit-llvm -fPIC --target=x86_64-unknown-unknown-elf \
 # RUN:        -o %t.ll %p/Inputs/jitbp.cpp
 # RUN: %lldb -b -o 'settings set plugin.jit-loader.gdb.enable on' -o 'b jitbp' 
\
-# RUN:          -o 'run --jit-kind=orc-lazy --per-module-lazy 
--jit-linker=jitlink %t.ll' \
-# RUN:          lli | FileCheck %s
+# RUN:          -o 'run --jit-linker=jitlink %t.ll' lli | FileCheck %s
 
 # CHECK: Breakpoint 1: no locations (pending).
 # CHECK: (lldb) run {{.*}}

diff  --git a/lldb/test/Shell/Breakpoint/jit-loader_rtdyld_elf.test 
b/lldb/test/Shell/Breakpoint/jit-loader_rtdyld_elf.test
index 7f1bd9dadbdcb..8c289e2870ae6 100644
--- a/lldb/test/Shell/Breakpoint/jit-loader_rtdyld_elf.test
+++ b/lldb/test/Shell/Breakpoint/jit-loader_rtdyld_elf.test
@@ -7,12 +7,10 @@
 # RUN:        -o %t.ll %p/Inputs/jitbp.cpp
 #
 # RUN: %lldb -b -o 'settings set plugin.jit-loader.gdb.enable on' -o 'b jitbp' 
\
-# RUN:          -o 'run --jit-kind=mcjit %t.ll' \
-# RUN:          lli | FileCheck %s
+# RUN:          -o 'run --jit-kind=mcjit %t.ll' lli | FileCheck %s
 #
 # RUN: %lldb -b -o 'settings set plugin.jit-loader.gdb.enable on' -o 'b jitbp' 
\
-# RUN:          -o 'run --jit-kind=orc-lazy --per-module-lazy 
--jit-linker=rtdyld %t.ll' \
-# RUN:          lli | FileCheck %s
+# RUN:          -o 'run --jit-linker=rtdyld %t.ll' lli | FileCheck %s
 
 # CHECK: Breakpoint 1: no locations (pending).
 # CHECK: (lldb) run {{.*}}


        
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to