[PATCH] [Tsan] Do not use INTERCEPT_FUNCTION_VER() on FreeBSD

Alexey Samsonov vonosmas at gmail.com
Thu Oct 9 18:18:31 PDT 2014


LGTM

================
Comment at: lib/tsan/rtl/tsan_interceptors.cc:236
@@ +235,3 @@
+#if SANITIZER_FREEBSD
+#define TSAN_INTERCEPT_VER(func, ver) INTERCEPT_FUNCTION(func)
+#else
----------------
Please add indentation here
  #if SANITIZER_FREEBSD
  # define ...
  #else
  # define ..
  #endif

http://reviews.llvm.org/D5708






More information about the llvm-commits mailing list