[PATCH] D46857: [CMake] Detect the compiler runtime and standard library
Petr Hosek via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Mon May 14 17:30:10 PDT 2018
phosek added a comment.
`check_link_libraries` would find `c++` and set `-lc++` as `SANITIZER_CXX_ABI_LIBRARY` which is presumably what it does today since I don't see `libcxxrt` in the `CXXABIS` list, so there should be no functional difference. The autodetection logic is only used when `SANITIZER_CXX_ABI` is set to `"default"`, so you can still override it through CMake same as today.
Repository:
rCRT Compiler Runtime
https://reviews.llvm.org/D46857
More information about the llvm-commits
mailing list