[PATCH] [asan] LSan hooks in asan_allocator2.cc

Sergey Matveev earthdok at google.com
Mon May 20 07:19:46 PDT 2013



================
Comment at: lib/asan/asan_allocator2.cc:711
@@ +710,3 @@
+// --- Implementation of LSan-specific functions --- {{{1
+#if SANITIZE_LEAKS
+namespace __lsan {
----------------
Kostya Serebryany wrote:
> can you avoid this #if here too? 
yes, if we get rid of templates


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



More information about the llvm-commits mailing list