[all-commits] [llvm/llvm-project] d08e5d: Make lsan TestCases more consistent

Clemens Wasser via All-commits all-commits at lists.llvm.org
Mon May 9 11:32:36 PDT 2022


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: d08e5d4cc66ad8d3cb9342f263c35e40c0dd6215
      https://github.com/llvm/llvm-project/commit/d08e5d4cc66ad8d3cb9342f263c35e40c0dd6215
  Author: Clemens Wasser <clemens.wasser at gmail.com>
  Date:   2022-05-09 (Mon, 09 May 2022)

  Changed paths:
    M compiler-rt/test/lsan/TestCases/Darwin/dispatch.mm
    M compiler-rt/test/lsan/TestCases/Linux/cleanup_in_tsd_destructor.c
    M compiler-rt/test/lsan/TestCases/Linux/disabler_in_tsd_destructor.c
    M compiler-rt/test/lsan/TestCases/Linux/use_tls_dynamic.cpp
    M compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_dynamic.cpp
    M compiler-rt/test/lsan/TestCases/Linux/use_tls_pthread_specific_static.cpp
    M compiler-rt/test/lsan/TestCases/Linux/use_tls_static.cpp
    M compiler-rt/test/lsan/TestCases/disabler.c
    M compiler-rt/test/lsan/TestCases/disabler.cpp
    M compiler-rt/test/lsan/TestCases/do_leak_check_override.cpp
    M compiler-rt/test/lsan/TestCases/high_allocator_contention.cpp
    M compiler-rt/test/lsan/TestCases/ignore_object.c
    M compiler-rt/test/lsan/TestCases/large_allocation_leak.cpp
    M compiler-rt/test/lsan/TestCases/leak_check_at_exit.cpp
    M compiler-rt/test/lsan/TestCases/link_turned_off.cpp
    M compiler-rt/test/lsan/TestCases/many_tls_keys_pthread.cpp
    M compiler-rt/test/lsan/TestCases/many_tls_keys_thread.cpp
    M compiler-rt/test/lsan/TestCases/pointer_to_self.cpp
    M compiler-rt/test/lsan/TestCases/print_suppressions.cpp
    M compiler-rt/test/lsan/TestCases/recoverable_leak_check.cpp
    M compiler-rt/test/lsan/TestCases/register_root_region.cpp
    M compiler-rt/test/lsan/TestCases/stale_stack_leak.cpp
    M compiler-rt/test/lsan/TestCases/suppressions_default.cpp
    M compiler-rt/test/lsan/TestCases/suppressions_file.cpp
    M compiler-rt/test/lsan/TestCases/use_after_return.cpp
    M compiler-rt/test/lsan/TestCases/use_globals_initialized.cpp
    M compiler-rt/test/lsan/TestCases/use_globals_uninitialized.cpp
    M compiler-rt/test/lsan/TestCases/use_globals_unused.cpp
    M compiler-rt/test/lsan/TestCases/use_poisoned_asan.cpp
    M compiler-rt/test/lsan/TestCases/use_registers.cpp
    M compiler-rt/test/lsan/TestCases/use_registers_extra.cpp
    M compiler-rt/test/lsan/TestCases/use_stacks.cpp
    M compiler-rt/test/lsan/TestCases/use_stacks_threaded.cpp
    M compiler-rt/test/lsan/TestCases/use_unaligned.cpp

  Log Message:
  -----------
  Make lsan TestCases more consistent

Inlining `LSAN_BASE` makes the lsan TestCases more consistent to the other sanitizer TestCases.
It is also needed on Windows: https://reviews.llvm.org/D115103

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D124322




More information about the All-commits mailing list