[all-commits] [llvm/llvm-project] e00e0b: [asan] Block signals when starting threads
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Wed Jul 26 13:03:55 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e00e0b6fb004080214645b14cfe68c3c4eccd437
https://github.com/llvm/llvm-project/commit/e00e0b6fb004080214645b14cfe68c3c4eccd437
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2023-07-26 (Wed, 26 Jul 2023)
Changed paths:
M compiler-rt/lib/asan/asan_interceptors.cpp
M compiler-rt/lib/asan/asan_posix.cpp
Log Message:
-----------
[asan] Block signals when starting threads
Async signals may crash the process if AsanThread is not fully
initialized. We do the same for other sanitizers already.
Can't have good reproducer for test. We see this in internal test with prob 1e-6.
Reviewed By: kstoimenov
Differential Revision: https://reviews.llvm.org/D156299
More information about the All-commits
mailing list