[PATCH] [lsan] Add an interface function for on-demand leak checking.

Sergey Matveev earthdok at google.com
Tue Apr 21 10:14:00 PDT 2015


Hi samsonov,

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.

http://reviews.llvm.org/D9159

Files:
  include/sanitizer/lsan_interface.h
  lib/lsan/lsan_common.cc
  lib/lsan/lsan_common_linux.cc
  test/lsan/TestCases/extra_leak_check.cc

EMAIL PREFERENCES
  http://reviews.llvm.org/settings/panel/emailpreferences/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D9159.24143.patch
Type: text/x-patch
Size: 10109 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20150421/8c0bee0f/attachment.bin>


More information about the llvm-commits mailing list