From 8fe1dddce6887f70dce65a79bf347bd40d39b68a Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Stefan=20Gr=C3=A4nitz?= Date: Thu, 18 Dec 2025 13:38:49 +0100 Subject: [PATCH] [lldb] Restrict JITLoaderGDB test to native Linux environments (#172292) This test used to work on non-Linux platforms that could run simple ELF objects in a JIT session. However, there is a risk that this will become too unstable for CI, so let's limit it to what we actually need. --- lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test b/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test index 9a972f1f1ece..f9eb8842bd4c 100644 --- a/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test +++ b/lldb/test/Shell/Breakpoint/jit-loader_jitlink_elf.test @@ -1,10 +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: -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