[PATCH] Tests and interface for LeakSanitizer.

Sergey Matveev earthdok at google.com
Wed Apr 17 03:32:04 PDT 2013



================
Comment at: lib/lsan/lsan_interface.h:10
@@ +9,3 @@
+//
+// This file is a part of LeakSanitizer.
+//
----------------
Alexey Samsonov wrote:
> Please clarify the use of this header. Who is supposed to call functions listed here? Is it instrumented user code, or other sanitizer tools?
> Usually we have "extern "C" __xsan_something()" functions that are exposed to the user and internal functions put in namespace __xsan
> (or in __sanitizer).
Initialization and global leak checking are definitely internal. Local leak checking is mainly for testing, though it can conceivably be exposed to the user, if there's a good use case for it.


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



More information about the llvm-commits mailing list