[PATCH] D19875: [sanitizer] Move stat/__xstat to the common interceptors
Mike Aizatsky via llvm-commits
llvm-commits at lists.llvm.org
Tue May 3 11:58:09 PDT 2016
aizatsky added inline comments.
================
Comment at: lib/sanitizer_common/sanitizer_platform_interceptors.h:300
@@ -293,1 +299,3 @@
+#define SANITIZER_INTERCEPT_STAT SI_FREEBSD || SI_MAC || SI_ANDROID
+#define SANITIZER_INTERCEPT___XSTAT !SI_FREEBSD
#endif // #ifndef SANITIZER_PLATFORM_INTERCEPTORS_H
----------------
It looks like both stat & xstat will be intercepted on mac & android.
Should this be !SANITIZER_INTERCEPT_STAT?
Repository:
rL LLVM
http://reviews.llvm.org/D19875
More information about the llvm-commits
mailing list