[libcxx-commits] [PATCH] D103149: [libcxx] [test] Convert an XFAIL LIBCXX-WINDOWS-FIXME into UNSUPPORTED with explanation
Martin Storsjö via Phabricator via libcxx-commits
libcxx-commits at lists.llvm.org
Wed May 26 03:31:19 PDT 2021
mstorsjo created this revision.
mstorsjo requested review of this revision.
Herald added a project: libc++.
Herald added a reviewer: libc++.
Repository:
rG LLVM Github Monorepo
https://reviews.llvm.org/D103149
Files:
libcxx/test/libcxx/debug/extern-templates.sh.cpp
Index: libcxx/test/libcxx/debug/extern-templates.sh.cpp
===================================================================
--- libcxx/test/libcxx/debug/extern-templates.sh.cpp
+++ libcxx/test/libcxx/debug/extern-templates.sh.cpp
@@ -14,7 +14,12 @@
// UNSUPPORTED: libcxx-no-debug-mode
// UNSUPPORTED: libcpp-has-no-localization
-// XFAIL: LIBCXX-WINDOWS-FIXME
+// This test relies on linking a shared library and then passing that shared
+// library as input when linking an executable; this is generally not supported
+// on Windows (GNU ld supports it, but MS link.exe and LLD don't) - one has to
+// use an import library instead. (Additionally, the test uses the -fPIC
+// option which clang doesn't accept on Windows.)
+// UNSUPPORTED: windows
// RUN: %{cxx} %{flags} %{compile_flags} %s %{link_flags} -fPIC -DTU1 -D_LIBCPP_DEBUG=1 -fvisibility=hidden -shared -o %t.lib
// RUN: cd %T && %{cxx} %{flags} %{compile_flags} %s ./%basename_t.tmp.lib %{link_flags} -fPIC -DTU2 -D_LIBCPP_DEBUG=1 -fvisibility=hidden -o %t.exe
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D103149.347889.patch
Type: text/x-patch
Size: 1033 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/libcxx-commits/attachments/20210526/d1d4bd2e/attachment.bin>
More information about the libcxx-commits
mailing list