[PATCH] D32297: make detect_leaks=1 the default for the lsan test suite

Francis Ricci via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 20 09:08:06 PDT 2017


fjricci created this revision.

This already appears to be the case in all .cc test files,
it was probably left out of the .c test files accidentally. Make it a global
default, instead of manually adding it to each individual test.

This is needed to force leak detection for Darwin tests, where leak detection
is disabled by default.


https://reviews.llvm.org/D32297

Files:
  test/lsan/TestCases/Linux/use_tls_dynamic.cc
  test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cc
  test/lsan/TestCases/Linux/use_tls_pthread_specific_static.cc
  test/lsan/TestCases/Linux/use_tls_static.cc
  test/lsan/TestCases/disabler.cc
  test/lsan/TestCases/do_leak_check_override.cc
  test/lsan/TestCases/high_allocator_contention.cc
  test/lsan/TestCases/large_allocation_leak.cc
  test/lsan/TestCases/leak_check_at_exit.cc
  test/lsan/TestCases/link_turned_off.cc
  test/lsan/TestCases/pointer_to_self.cc
  test/lsan/TestCases/print_suppressions.cc
  test/lsan/TestCases/recoverable_leak_check.cc
  test/lsan/TestCases/register_root_region.cc
  test/lsan/TestCases/stale_stack_leak.cc
  test/lsan/TestCases/suppressions_default.cc
  test/lsan/TestCases/suppressions_file.cc
  test/lsan/TestCases/swapcontext.cc
  test/lsan/TestCases/use_after_return.cc
  test/lsan/TestCases/use_globals_initialized.cc
  test/lsan/TestCases/use_globals_uninitialized.cc
  test/lsan/TestCases/use_poisoned_asan.cc
  test/lsan/TestCases/use_registers.cc
  test/lsan/TestCases/use_stacks.cc
  test/lsan/TestCases/use_stacks_threaded.cc
  test/lsan/TestCases/use_unaligned.cc
  test/lsan/lit.common.cfg

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D32297.95966.patch
Type: text/x-patch
Size: 16503 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20170420/150d34b8/attachment.bin>


More information about the llvm-commits mailing list