diff options
| author | Kirill Stoimenov <kstoimenov@google.com> | 2023-04-24 19:25:45 +0000 |
|---|---|---|
| committer | Kirill Stoimenov <kstoimenov@google.com> | 2023-04-26 18:08:05 +0000 |
| commit | 7d5e6b4bc7f8a3843e052a662c55b91f3c7a042f (patch) | |
| tree | 524c51f4bbcc237d347dd7329680475bdc7602ce /clang/lib/Frontend/CompilerInvocation.cpp | |
| parent | c4505158950f2211d8c4b429049f2cd765f3e092 (diff) | |
| download | llvm-7d5e6b4bc7f8a3843e052a662c55b91f3c7a042f.zip llvm-7d5e6b4bc7f8a3843e052a662c55b91f3c7a042f.tar.gz llvm-7d5e6b4bc7f8a3843e052a662c55b91f3c7a042f.tar.bz2 | |
[HWASAN] Fix TLS + signal handling related crash
When a signal is raised before HWASAN has a chance to initialize it's TLS entry the program crashes. This only happens when hwasan-with-tls is true, which is default value. This patch fixes the problem by disabling signals during thread initialization time.
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D149085
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions
