[PATCH] D28201: Provide default implementations for sanitizer interface functions

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Jan 5 13:01:00 PST 2017


fjricci added a comment.

The issue is that these `!SANITIZER_SUPPORTS_WEAK_HOOKS` is true on all currently supported platforms (if they were, lsan would fail to link on those platforms, making a test unnecessary anyway). But this patch is required in order to add platforms where `SANITIZER_SUPPORTS_WEAK_HOOKS` is false. It's also required for consistency with the existing `__lsan_is_turned_off()` stub.


https://reviews.llvm.org/D28201





More information about the llvm-commits mailing list