https://github.com/weliveindetail updated https://github.com/llvm/llvm-project/pull/172292
From 53f772d545039ee994e20131a81888941f781618 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Gr=C3=A4nitz?= <[email protected]> Date: Mon, 15 Dec 2025 13:54:55 +0100 Subject: [PATCH 1/2] [lldb] Restrict test for JITLoaderGDB to native Linux environments --- lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test b/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test index 9a972f1f1ece7..e2adc3a434798 100644 --- a/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test +++ b/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test @@ -1,9 +1,8 @@ -# REQUIRES: target-x86_64 -# XFAIL: system-windows +# REQUIRES: target-x86_64, system-linux, native # JITLink is the Orc-specific JIT linker implementation. # -# RUN: %clangxx -g -S -emit-llvm -fPIC --target=x86_64-unknown-unknown-elf \ +# RUN: %clangxx -g -S -emit-llvm -fPIC \ # 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-linker=jitlink %t.ll' lli | FileCheck %s From 7585e4054b5742fca90963d65d9962eb86144946 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Gr=C3=A4nitz?= <[email protected]> Date: Mon, 15 Dec 2025 14:16:36 +0100 Subject: [PATCH 2/2] Use %clangxx_host --- lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test b/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test index e2adc3a434798..f9eb8842bd4c7 100644 --- a/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test +++ b/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test @@ -2,8 +2,7 @@ # JITLink is the Orc-specific JIT linker implementation. # -# RUN: %clangxx -g -S -emit-llvm -fPIC \ -# RUN: -o %t.ll %p/Inputs/jitbp.cpp +# RUN: %clangxx_host -g -S -emit-llvm -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-linker=jitlink %t.ll' lli | FileCheck %s _______________________________________________ lldb-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits
