diff options
author | Thurston Dang <thurston@google.com> | 2024-10-31 11:07:41 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-10-31 11:07:41 -0700 |
commit | 25fd366d6a7d40266ff27c134ed8beb0a90cc33b (patch) | |
tree | 426312d7e3ce131183033a98602e0f6bef291e30 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | cd8d507b074e8d30f6c9925a24224673b2908a51 (diff) | |
download | llvm-25fd366d6a7d40266ff27c134ed8beb0a90cc33b.zip llvm-25fd366d6a7d40266ff27c134ed8beb0a90cc33b.tar.gz llvm-25fd366d6a7d40266ff27c134ed8beb0a90cc33b.tar.bz2 |
[sanitizer_common] AND signals in BlockSignals instead of deleting (#113443)
My earlier patch https://github.com/llvm/llvm-project/pull/98200 caused a regression because it unconditionally unblocked synchronous signals, even if the user program had deliberately blocked them. This patch fixes the issue by checking the current signal mask, as suggested by Vitaly. It also adds tests.
Fixes #113385
---------
Co-authored-by: Vitaly Buka <vitalybuka@gmail.com>
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions