[all-commits] [llvm/llvm-project] ed7f3f: tsan: move shadow stack into ThreadState

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Mon Sep 27 03:54:08 PDT 2021


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

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

  Log Message:
  -----------
  tsan: move shadow stack into ThreadState

Currently the shadow stack is located in the trace memory mapping.
The new tsan runtime will remove the trace memory mapping.
Move the shadow stack into ThreadState as a preparation step.

Reviewed By: melver

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




More information about the All-commits mailing list