[all-commits] [llvm/llvm-project] 203096: [libcxx] [test] Include more libraries that normal...

Martin Storsjö via All-commits all-commits at lists.llvm.org
Thu Apr 29 09:54:35 PDT 2021


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

  Changed paths:
    M libcxx/utils/ci/run-buildbot
    M libcxx/utils/libcxx/test/config.py

  Log Message:
  -----------
  [libcxx] [test] Include more libraries that normally are linked automatically

As the libcxx tests link with -nostdlib, libraries that normally
are added by default by the compiler driver has to be added
manually.

The "oldnames" library is automatically added when driving linking
with clang-cl. When linking with the plain clang driver, as the
libcxx tests do, the clang driver does the same but only since Clang
12.0). But when linking with -nostdlib, like the libcxx tests do,
the driver defaults aren't added at all, and we need to specify the
defaults manually.

This allows removing a TODO from the Windows CI setup; it turns out
that upgrading to Clang 12.0 didn't help here as expected, sorry about
that mixup.

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




More information about the All-commits mailing list