From 9689c1b7bb77d65e8acc9a13e5e416803d38b02f Mon Sep 17 00:00:00 2001 From: =?utf8?q?Stefan=20Gr=C3=A4nitz?= Date: Wed, 22 Sep 2021 13:54:26 +0200 Subject: [PATCH] [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. --- lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test | 3 +-- lldb/test/Shell/Breakpoint/jit-loader_rtdyld_elf.test | 6 ++---- 2 files changed, 3 insertions(+), 6 deletions(-) diff --git a/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test b/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test index ccaf9d4..bbb4830 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 7f1bd9d..8c289e2 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 {{.*}} -- 2.7.4