[all-commits] [llvm/llvm-project] cfec0a: [libcxx] [test] Fix testing on windows with c++exp...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Apr 22 00:26:35 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: cfec0a3e9e70e9a7ce5ca6a0888ba71e2d978767
      https://github.com/llvm/llvm-project/commit/cfec0a3e9e70e9a7ce5ca6a0888ba71e2d978767
  Author: Martin Storsjö <martin at martin.st>
  Date:   2021-04-22 (Thu, 22 Apr 2021)

  Changed paths:
    M libcxx/utils/libcxx/test/features.py
    M libcxx/utils/libcxx/test/params.py

  Log Message:
  -----------
  [libcxx] [test] Fix testing on windows with c++experimental enabled

The straightforward `AddLinkFlag('-lc++experimental')` approach doesn't
work on e.g. MSVC. For linking to libc++ itself, a more convoluted logic
is used (see configure_link_flags_cxx_library).

Differential Revision: https://reviews.llvm.org/D99177




More information about the All-commits mailing list