llvm-project/compiler-rt/lib/lsan
Sergey Matveev cbdd0dc88a [lsan] Add an interface function for on-demand leak checking.
Summary:
Add an interface function which can be used to periodically trigger
leak detection in a long-running process.

NB: The meaning of the kIgnored tag has been changed to allow easy clean-up
between subsequent leak checks. Previously, this tag was applied to explicitly
ignored (i.e. with __lsan_disable() or __lsan_ignore_object()) chunks *and* any
chunks only reachable from those. With this change, it's only applied to
explicitly ignored chunks.

Reviewers: samsonov

Reviewed By: samsonov

Subscribers: llvm-commits

Differential Revision: http://reviews.llvm.org/D9159

llvm-svn: 235728
2015-04-24 16:53:15 +00:00
..
CMakeLists.txt [sanitizer] Android build cleanup. 2014-09-29 13:18:55 +00:00
Makefile.mk Remove support for building sanitizers from Makefile/autoconf build on Linux. 2015-02-18 22:26:49 +00:00
lsan.cc [LSan] Make parent tool responsible for initializing LSan flags. 2015-02-17 18:50:30 +00:00
lsan.h [Sanitizer] Make StackTrace a lightweight reference to array of PCs, and 2014-10-26 03:35:14 +00:00
lsan_allocator.cc [LSan] [MIPS] adding support of LSan for mips64/mips64el arch 2015-02-19 07:30:39 +00:00
lsan_allocator.h [lsan] Implement the public allocator interface in standalone LSan. 2014-08-26 14:28:28 +00:00
lsan_common.cc [lsan] Add an interface function for on-demand leak checking. 2015-04-24 16:53:15 +00:00
lsan_common.h LSan: fix a deadlock caused by dl_iterate_phdr(). 2015-02-26 14:01:08 +00:00
lsan_common_linux.cc [lsan] Add an interface function for on-demand leak checking. 2015-04-24 16:53:15 +00:00
lsan_flags.inc [Sanitizer] Refactor SuppressionContext class. 2015-02-20 17:41:59 +00:00
lsan_interceptors.cc [ASan, LSan] Improve tracking of thread creation. 2014-12-05 00:10:15 +00:00
lsan_preinit.cc [Sanitizer] Introduce SANITIZER_CAN_USE_PREINIT_ARRAY definition and use it across sanitizers. 2014-07-25 22:05:02 +00:00
lsan_thread.cc [lsan] Support ASan's stack-use-after-return mode in LSan. 2013-10-14 14:04:50 +00:00
lsan_thread.h Use 'override/final' instead of 'virtual' for overridden methods 2015-04-11 02:44:24 +00:00