[libcxx-commits] [PATCH] D101434: [libcxx] [test] Include more libraries that normally are linked automatically

Martin Storsjö via Phabricator via libcxx-commits libcxx-commits at lists.llvm.org
Wed Apr 28 03:28:16 PDT 2021


mstorsjo added a comment.

In D101434#2722122 <https://reviews.llvm.org/D101434#2722122>, @curdeius wrote:

> LGTM. Is there any other option on clang-cl to avoid linking MSVCRT but linking other stuff? Is there going to be any change in clang 13?

I don't know of any change wrt this in clang 13, and oldnames.lib is actually an extension to the regular msvcrt library (it mainly consists of aliases from functions like `getcwd` to the form `_getcwd` which exists in the import libraries, so we don't need to reroute calls to the underscored form in the test code), so I don't think it's practically doable to omit one of them but not the other.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101434/new/

https://reviews.llvm.org/D101434



More information about the libcxx-commits mailing list