[PATCH] D101479: [Driver] Support libc++ in MSVC

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue May 11 08:40:54 PDT 2021


mstorsjo added a comment.

In D101479#2750765 <https://reviews.llvm.org/D101479#2750765>, @amccarth wrote:

> Ah, thanks for explaining that!  In the VC++ stack, `/MD` and `/MT` make the DLL/static choice for the CRT, the C++ standard library, and the compiler runtime.[1]  It never occurred to me that someone might want to select these independently.

Yup. As those components come from a different vendor than libc++, and have different distribution strategies/policies (and since there's some amount of shared global state in the CRT, which further affect how one can/should use it) one may want to link them in different ways.


Repository:
  rG LLVM Github Monorepo

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

https://reviews.llvm.org/D101479



More information about the cfe-commits mailing list