[PATCH] D67337: Add __lsan::ScopedInterceptorDisabler for strerror(3)

Kamil Rytarowski via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 17 16:42:38 PDT 2019


krytarowski marked an inline comment as done.
krytarowski added inline comments.


================
Comment at: lib/lsan/lsan_interceptors.cpp:348
 
+#if SANITIZER_INTERCEPT_STRERROR
+INTERCEPTOR(char *, strerror, int errnum) {
----------------
vitalybuka wrote:
> Why this one can't use COMMON_INTERCEPTOR_STRERROR?
sanitizer_common_interceptors.inc is not included in LSan.

Including it exceeds this patch scope.


Repository:
  rL LLVM

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D67337/new/

https://reviews.llvm.org/D67337





More information about the llvm-commits mailing list