[PATCH] [lsan] Add leak_check_at_exit flag.

Alexey Samsonov samsonov at google.com
Thu Aug 1 07:33:03 PDT 2013


  Please add a test for this.


================
Comment at: lib/sanitizer_common/sanitizer_flags.h:45
@@ +44,3 @@
+  // Invoke leak checking in an atexit handler. Has no effect if
+  // detect_leaks=false, or if __lsan_do_leak_check() is called before the
+  // handler has a chance to run.
----------------
... if leak checking is disabled, or if ...


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



More information about the llvm-commits mailing list