quic-k wrote:
> Please can we not add a `CLANG_DEFAULT_CSTDLIB` configuration option to
> cmake. The equivalents for C++/RTLib/Unwindlib are a real source of reverts
> for new driver tests, because it's not obvious that a cmake-level option will
> affect if your lit test passes or fails.
I have faced a similar issue before so I changed the tests to check with or `//
CHECK: {{clang_rt\.builtins|gcc}}`
but with libc this can get complicated as this flag will affect multiple things
like include paths, library paths, etc.
so I think you are right
let me rework this so libc can be switched only via clang flag and not a cmake
option
https://github.com/llvm/llvm-project/pull/183254
_______________________________________________
cfe-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits