[all-commits] [llvm/llvm-project] 2eda2e: [HWASAN] Prevent crashes on thread exit
Vitaly Buka via All-commits
all-commits at lists.llvm.org
Thu May 11 16:15:28 PDT 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 2eda2e013830537800b68c9217fc14ea7704e618
https://github.com/llvm/llvm-project/commit/2eda2e013830537800b68c9217fc14ea7704e618
Author: Vitaly Buka <vitalybuka at google.com>
Date: 2023-05-11 (Thu, 11 May 2023)
Changed paths:
M compiler-rt/lib/hwasan/hwasan_linux.cpp
Log Message:
-----------
[HWASAN] Prevent crashes on thread exit
I can't figure out how to reproduce this for test, but I see the case on
random binaries.
The known issue is with GLIBC, others may have a workaround, e.g. Bionic,
https://cs.android.com/android/platform/superproject/+/master:bionic/libc/bionic/pthread_exit.cpp;l=149
see signals blocked above.
Reviewed By: eugenis
Differential Revision: https://reviews.llvm.org/D150401
More information about the All-commits
mailing list