[PATCH] D32589: [sanitizer] Intercept mcheck and mprobe on Linux

Evgenii Stepanov via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 27 13:48:58 PDT 2017


eugenis added inline comments.


================
Comment at: lib/sanitizer_common/sanitizer_common_interceptors.inc:6157
+}
+#define INIT_MCHECK_MPROBE                       \
+  COMMON_INTERCEPT_FUNCTION(mcheck);             \
----------------
I think INIT_MCHECK_MPROBE is simply unnecessary if we don't use REAL(mcheck). Compare with asan_malloc_linux.cc.

And we don't need to care about glibc version then.


Repository:
  rL LLVM

https://reviews.llvm.org/D32589





More information about the llvm-commits mailing list