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