[PATCH] D13068: [asan] Versioned interceptor for pthread_create.

Alexey Samsonov via llvm-commits llvm-commits at lists.llvm.org
Tue Sep 22 14:12:07 PDT 2015


samsonov accepted this revision.
samsonov added a comment.
This revision is now accepted and ready to land.

LGTM


================
Comment at: lib/asan/asan_interceptors.h:110
@@ -103,3 +109,3 @@
 #define ASAN_INTERCEPT_FUNC(name)
-#endif  // SANITIZER_MAC
+#endif // SANITIZER_MAC
 
----------------
Did you clang-format it for the wrong style?

================
Comment at: lib/interception/interception_linux.h:38
@@ -37,4 +37,3 @@
 #if !defined(__ANDROID__)  // android does not have dlvsym
-# define INTERCEPT_FUNCTION_VER_LINUX_OR_FREEBSD(func, symver) \
-     ::__interception::real_##func = (func##_f)(unsigned long) \
-         ::__interception::GetFuncAddrVer(#func, symver)
+#define INTERCEPT_FUNCTION_VER_LINUX_OR_FREEBSD(func, symver)                  \
+  (::__interception::real_##func = (func##_f)(                                 \
----------------
Did you clang-format it for the wrong style? (we use `# define` instead of `#define` where appropriate)


Repository:
  rL LLVM

http://reviews.llvm.org/D13068





More information about the llvm-commits mailing list