[PATCH] D60235: [CMake] Disable libc++ and libc++abi new/delete definitions when built with ASan
Roland McGrath via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Wed Apr 3 15:47:52 PDT 2019
mcgrathr accepted this revision.
mcgrathr added a comment.
This revision is now accepted and ready to land.
IMHO the library code should use `#if !__has_feature(...)` to avoid the definitions entirely when built with a sanitizer whose runtime provides them.
But this is a fine way to achieve that while we wait for those libraries to be fixed for sanitized builds.
Repository:
rC Clang
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D60235/new/
https://reviews.llvm.org/D60235
More information about the cfe-commits
mailing list