We have been relying on the logic for C++ ABI library for sanitizer
tests but that's incorrect since most tests require a full C++ library
and not just C++ ABI. This change tries to address this by using the
dependency on libc++ if available.
Details
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
compiler-rt/CMakeLists.txt | ||
---|---|---|
535 | You just triggered a huge red flag for me by using HAVE_LIBCXX. I hate that thing, it's a ad-hoc cross-project hack for a tricky issue I don't even remember, but it feels like we should have a proper solution for it instead. Am I wrong? If that is correct, I would really like to avoid spreading its use even more. |
compiler-rt/CMakeLists.txt | ||
---|---|---|
535 | I know, I feel the same way, but I think we can remove condition altogether in the subsequent change D118200 since the generator expression serves the same purpose but it's a cleaner solution. I'd just prefer landing this as two separate changes to make sure this doesn't break anything. |
You just triggered a huge red flag for me by using HAVE_LIBCXX. I hate that thing, it's a ad-hoc cross-project hack for a tricky issue I don't even remember, but it feels like we should have a proper solution for it instead. Am I wrong? If that is correct, I would really like to avoid spreading its use even more.