[all-commits] [llvm/llvm-project] c2598b: tsan: move AccessType to tsan_defs.h

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Wed Aug 4 09:04:09 PDT 2021


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

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_defs.h
    M compiler-rt/lib/tsan/rtl/tsan_rtl.h

  Log Message:
  -----------
  tsan: move AccessType to tsan_defs.h

It will be needed in more functions like ReportRace
(the plan is to pass it through MemoryAccess to ReportRace)
and this move will allow to split the huge tsan_rtl.h into parts
(e.g. move FastState/Shadow definitions to a separate header).

Depends on D107465.

Reviewed By: melver

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




More information about the All-commits mailing list