[PATCH] [asan] Move lsan_disabled out of thread context.

Sergey Matveev earthdok at google.com
Fri Jun 21 06:25:11 PDT 2013



================
Comment at: lib/lsan/lsan_common.cc:432
@@ +431,3 @@
+  __lsan::disable_counter++;
+#endif
+}
----------------
Alexey Samsonov wrote:
> #endif  // CAN_SANITIZE_LEAKS
Is it really necessary for such short ifdefs? I think it just adds visual clutter.


http://llvm-reviews.chandlerc.com/D1017



More information about the llvm-commits mailing list