Kirill Stoimenov 7d5e6b4bc7 [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
2023-04-26 18:08:05 +00:00
..
2023-04-24 20:14:28 +00:00