[PATCH] D32589: [sanitizer] Intercept mcheck and mprobe on Linux
Maxim Ostapenko via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 27 05:44:39 PDT 2017
m.ostapenko added inline comments.
================
Comment at: lib/lsan/lsan_interceptors.cc:197
+
+INTERCEPTOR(int, mcheck, void (*abortfunc)(enum mcheck_status mstatus)) {
+ return 0;
----------------
ygribov wrote:
> We don't seem to use enum at all (except for "return MCHECK_OK" which can be replaced with "return 0").
Ok, if you think that it would be cleaner to just use 0 here I don't mind.
Repository:
rL LLVM
https://reviews.llvm.org/D32589
More information about the llvm-commits
mailing list