[all-commits] [llvm/llvm-project] 821476: tsan: declare annotations in test.h

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Tue May 11 22:22:57 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 8214764f35e1b764fb939e18f16e11aa43073469
      https://github.com/llvm/llvm-project/commit/8214764f35e1b764fb939e18f16e11aa43073469
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-05-12 (Wed, 12 May 2021)

  Changed paths:
    M compiler-rt/test/tsan/annotate_happens_before.cpp
    M compiler-rt/test/tsan/benign_race.cpp
    M compiler-rt/test/tsan/ignore_sync.cpp
    M compiler-rt/test/tsan/mutex_bad_read_lock.cpp
    M compiler-rt/test/tsan/mutex_bad_read_unlock.cpp
    M compiler-rt/test/tsan/mutex_bad_unlock.cpp
    M compiler-rt/test/tsan/mutex_double_lock.cpp
    M compiler-rt/test/tsan/mutexset5.cpp
    M compiler-rt/test/tsan/signal_sync2.cpp
    M compiler-rt/test/tsan/test.h
    M compiler-rt/test/tsan/thread_end_with_ignore.cpp
    M compiler-rt/test/tsan/thread_end_with_ignore2.cpp
    M compiler-rt/test/tsan/thread_end_with_ignore3.cpp
    M compiler-rt/test/tsan/thread_name.cpp

  Log Message:
  -----------
  tsan: declare annotations in test.h

We already declare subset of annotations in test.h.
But some are duplicated and declared in tests.
Move all annotation declarations to test.h.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list