Skip to content

Commit 569965d

Browse files
committed
add comment and XFAIL of cygwin target
1 parent be3a7ee commit 569965d

File tree

2 files changed

+8
-1
lines changed

2 files changed

+8
-1
lines changed

llvm/test/ExecutionEngine/MCJIT/stubs-sm-pic.ll

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,7 @@
11
; RUN: %lli -jit-kind=mcjit -disable-lazy-compilation=false -relocation-model=pic -code-model=small %s
2-
; XFAIL: target={{(mips|mipsel)-.*}}, target={{(i686|i386).*}}, target={{(aarch64|arm).*}}
2+
; XFAIL: target={{(mips|mipsel)-.*}}, target={{(i686|i386).*}}, target={{(aarch64|arm).*}}, target={{.*-(cygwin|windows-cygnus)}}
3+
; This test segfaults on cygwin, but succeeds with cygwin-elf. Unfortunately,
4+
; cygwin-elf breaks the remote tests due to lack of __register_frame.
35

46
define i32 @main() nounwind {
57
entry:

llvm/test/lit.cfg.py

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -107,6 +107,11 @@ def get_asan_rtlib():
107107
# we don't support COFF in MCJIT well enough for the tests, force ELF format on
108108
# Windows. FIXME: the process target triple should be used here, but this is
109109
# difficult to obtain on Windows.
110+
# Cygwin is excluded from this workaround, even though it is COFF, because this
111+
# breaks remote tests due to not having a __register_frame function. The only
112+
# test that succeeds with cygwin-elf but fails with cygwin is
113+
# test/ExecutionEngine/MCJIT/stubs-sm-pic.ll so this test is marked as XFAIL
114+
# for cygwin targets
110115
if re.search(r"windows-gnu|windows-msvc", config.host_triple):
111116
lli_args = ["-mtriple=" + config.host_triple + "-elf"]
112117

0 commit comments

Comments
 (0)