[all-commits] [llvm/llvm-project] 53a526: tsan: always setup sigaction signal handler

Dmitry Vyukov via All-commits all-commits at lists.llvm.org
Fri Jul 30 23:54:02 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 53a526790d841beb04294f232982796d0803dd3c
      https://github.com/llvm/llvm-project/commit/53a526790d841beb04294f232982796d0803dd3c
  Author: Dmitry Vyukov <dvyukov at google.com>
  Date:   2021-07-31 (Sat, 31 Jul 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp

  Log Message:
  -----------
  tsan: always setup sigaction signal handler

Currently we setup either sigaction signal handler with 3 arguments
or old style signal handler with 1 argument depending on user handler type.
This unnecessarily complicates code. Always setup sigaction handler.

Reviewed By: vitalybuka

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




More information about the All-commits mailing list