[all-commits] [llvm/llvm-project] 266a8d: [tsan] Fix sigaction interceptor after D107186

Vitaly Buka via All-commits all-commits at lists.llvm.org
Tue Aug 24 10:19:14 PDT 2021


  Branch: refs/heads/main
  Home:   https://github.com/llvm/llvm-project
  Commit: 266a8d5cfe9a351468561aebe18203399e2ccc32
      https://github.com/llvm/llvm-project/commit/266a8d5cfe9a351468561aebe18203399e2ccc32
  Author: Vitaly Buka <vitalybuka at google.com>
  Date:   2021-08-24 (Tue, 24 Aug 2021)

  Changed paths:
    M compiler-rt/lib/tsan/rtl/tsan_interceptors_posix.cpp
    A compiler-rt/test/sanitizer_common/TestCases/Posix/replace_sigaction.cpp

  Log Message:
  -----------
  [tsan] Fix sigaction interceptor after D107186

Set SA_SIGINFO only if we set sighandler, or we can set the flag, and
return it as 'old' without actual sigaction set.

Reviewed By: melver

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




More information about the All-commits mailing list