https://github.com/weliveindetail created 
https://github.com/llvm/llvm-project/pull/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.

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] [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

_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to