[PATCH] [lsan] Make the report_objects flag more useful.

Sergey Matveev earthdok at google.com
Mon Dec 23 06:51:53 PST 2013


Hi kcc,

Print the list of leaked objects after each leak report. Previously we
printed only a joint list of all leaked objects. As a bonus, suppressed objects
are no longer reported.

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

Files:
  lib/lsan/lit_tests/TestCases/cleanup_in_tsd_destructor.cc
  lib/lsan/lit_tests/TestCases/large_allocation_leak.cc
  lib/lsan/lit_tests/TestCases/pointer_to_self.cc
  lib/lsan/lit_tests/TestCases/stale_stack_leak.cc
  lib/lsan/lit_tests/TestCases/use_after_return.cc
  lib/lsan/lit_tests/TestCases/use_globals_initialized.cc
  lib/lsan/lit_tests/TestCases/use_globals_uninitialized.cc
  lib/lsan/lit_tests/TestCases/use_poisoned_asan.cc
  lib/lsan/lit_tests/TestCases/use_registers.cc
  lib/lsan/lit_tests/TestCases/use_stacks.cc
  lib/lsan/lit_tests/TestCases/use_stacks_threaded.cc
  lib/lsan/lit_tests/TestCases/use_tls_dynamic.cc
  lib/lsan/lit_tests/TestCases/use_tls_pthread_specific_dynamic.cc
  lib/lsan/lit_tests/TestCases/use_tls_pthread_specific_static.cc
  lib/lsan/lit_tests/TestCases/use_tls_static.cc
  lib/lsan/lit_tests/TestCases/use_unaligned.cc
  lib/lsan/lsan_common.cc
  lib/lsan/lsan_common.h
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D2459.1.patch
Type: text/x-patch
Size: 12715 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20131223/ac949c30/attachment.bin>


More information about the llvm-commits mailing list