[all-commits] [llvm/llvm-project] 0ebfe7: tsan: unit-test all mappings

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Tue Aug 10 11:07:27 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 0ebfe7c3126df8f6bc5b721053369065fa2d0c8c
      https://github.com/llvm/llvm-project/commit/0ebfe7c3126df8f6bc5b721053369065fa2d0c8c
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-08-10 (Tue, 10 Aug 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_platform.h
    M compiler-rt/lib/tsan/rtl/tsan_rtl.cpp
    M compiler-rt/lib/tsan/tests/unit/tsan_shadow_test.cpp

  Log Message:
  -----------
  tsan: unit-test all mappings

Move the mapping checking logic from startup to unit tests
and test all mapping instead of just the active one.
This makes it much more feasible to make any global changes
to the mappings since we have 17 of them.

Depends on D107740.

Reviewed By: vitalybuka, melver

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




More information about the All-commits mailing list