Author: Louis Dionne Date: 2021-02-23T18:52:48-08:00 New Revision: d56d2c8863b6ae3637b6261c32ea9479d8e1e2d6
URL: https://github.com/llvm/llvm-project/commit/d56d2c8863b6ae3637b6261c32ea9479d8e1e2d6 DIFF: https://github.com/llvm/llvm-project/commit/d56d2c8863b6ae3637b6261c32ea9479d8e1e2d6.diff LOG: [libc++] Fix extern template test failing on Windows See https://reviews.llvm.org/D94718#2521489 for details. (cherry picked from commit 90407b16b1d3e38f1360b6a24ceab801ab9cefc1) Added: Modified: libcxx/test/libcxx/debug/extern-templates.sh.cpp Removed: ################################################################################ diff --git a/libcxx/test/libcxx/debug/extern-templates.sh.cpp b/libcxx/test/libcxx/debug/extern-templates.sh.cpp index d5039d4f3029..b2ed6a63d630 100644 --- a/libcxx/test/libcxx/debug/extern-templates.sh.cpp +++ b/libcxx/test/libcxx/debug/extern-templates.sh.cpp @@ -15,7 +15,7 @@ // UNSUPPORTED: libcpp-has-no-localization // RUN: %{cxx} %{flags} %{compile_flags} %s %{link_flags} -fPIC -DTU1 -D_LIBCPP_DEBUG=1 -fvisibility=hidden -shared -o %t.lib -// RUN: %{cxx} %{flags} %{compile_flags} %s %t.lib %{link_flags} -fPIC -DTU2 -D_LIBCPP_DEBUG=1 -fvisibility=hidden -o %t.exe +// 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 // RUN: %{exec} %t.exe #include <cassert> _______________________________________________ llvm-branch-commits mailing list [email protected] https://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-branch-commits
