[all-commits] [llvm/llvm-project] 18c6ed: tsan: add AccessVptr

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Tue Aug 3 02:03:50 PDT 2021


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

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

  Log Message:
  -----------
  tsan: add AccessVptr

Add AccessVptr access type.
For now it's converted to the same thr->is_vptr_access,
but later it will be passed directly to ReportRace
and will enable efficient tail calling in MemoryAccess function
(currently __tsan_vptr_update/__tsan_vptr_read can't use
tail calls in MemoryAccess because of the trailing assignment
to thr->is_vptr_access).

Depends on D107276.

Reviewed By: vitalybuka, melver

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




More information about the All-commits mailing list