trcrsired wrote: Also i think the code of AddMSVCStdlibIncludeArgs being wrong. Because Microsoft STL headers are with the CRT headers in the toolchains unless you are using windows-msvc-sysroot which follows GCC style sysroot. Neither being correct https://github.com/llvm/llvm-project/pull/207798