[llvm] [LLVM] adjust lit.cfg.py for Cygwin (PR #151416)

Martin Storsjö via llvm-commits llvm-commits at lists.llvm.org
Fri Aug 1 01:06:27 PDT 2025


================
@@ -107,6 +107,11 @@ def get_asan_rtlib():
 # we don't support COFF in MCJIT well enough for the tests, force ELF format on
 # Windows.  FIXME: the process target triple should be used here, but this is
 # difficult to obtain on Windows.
+# Cygwin is excluded from this workaround, even though it is COFF, because this
+# breaks remote tests due to not having a __register_frame function.  The only
+# test that succeeds with cygwin-elf but fails with cygwin is
+# test/ExecutionEngine/MCJIT/stubs-sm-pic.ll so this test is marked as XFAIL
+# for cygwin targets
----------------
mstorsjo wrote:

Super-nitpick: A trailing period after the last sentence would be nice. :-)

https://github.com/llvm/llvm-project/pull/151416


More information about the llvm-commits mailing list