[all-commits] [llvm/llvm-project] 702cb7: tsan: move shadow declaration into a separate head...

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Thu Sep 23 02:04:55 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 702cb7afe9de21b9a86d012cdd0b283496e619af
      https://github.com/llvm/llvm-project/commit/702cb7afe9de21b9a86d012cdd0b283496e619af
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-09-23 (Thu, 23 Sep 2021)

  Changed paths:
    M compiler-rt/lib/tsan/CMakeLists.txt
    M compiler-rt/lib/tsan/rtl/tsan_rtl.h
    A compiler-rt/lib/tsan/rtl/tsan_shadow.h

  Log Message:
  -----------
  tsan: move shadow declaration into a separate header file (NFC)

tsan_rtl.h is very huge and contains too many things.
Move FastState and Shadow types into a new tsan_shadow.h file.
This also allows to use FastState/Shadow in other header files
without creating circular dependencies (which most likely will
happen today).

Reviewed By: melver

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




More information about the All-commits mailing list