[libcxx-commits] [libcxx] [libcxxabi] [libunwind] [llvm] [runtimes] Probe for -nostdlib++ and -nostdinc++ with the C compiler (PR #108357)
Vitaly Buka via libcxx-commits
libcxx-commits at lists.llvm.org
Thu Dec 19 00:34:48 PST 2024
vitalybuka wrote:
#120370 was reverted, because libc++ tests expose major problem:
Tests and likely many users can have `-nostdlib++ -lc++`.
The if we remove c++ sanitizer runtimes from linking it will break them and force to add `-fsanitize-link-c++-runtime`
I will reland unrelated parts of #120370, and think for other solutions.
https://github.com/llvm/llvm-project/pull/108357
More information about the libcxx-commits
mailing list