forked from OSchip/llvm-project
![]() Summary: Currently we are not enforcing the success of `pthread_once`, and `pthread_setspecific`. Errors could lead to harder to debug issues later in the thread's life. This adds checks for a 0 return value for both. If `pthread_setspecific` fails in the teardown path, opt for an immediate teardown as opposed to a fatal failure. Reviewers: alekseyshl, kcc Reviewed By: alekseyshl Subscribers: llvm-commits Differential Revision: https://reviews.llvm.org/D33555 llvm-svn: 303998 |
||
---|---|---|
.. | ||
CMakeLists.txt | ||
scudo_allocator.cpp | ||
scudo_allocator.h | ||
scudo_allocator_combined.h | ||
scudo_allocator_secondary.h | ||
scudo_crc32.cpp | ||
scudo_crc32.h | ||
scudo_flags.cpp | ||
scudo_flags.h | ||
scudo_flags.inc | ||
scudo_interceptors.cpp | ||
scudo_new_delete.cpp | ||
scudo_termination.cpp | ||
scudo_tls.h | ||
scudo_tls_android.cpp | ||
scudo_tls_android.inc | ||
scudo_tls_context_android.inc | ||
scudo_tls_context_linux.inc | ||
scudo_tls_linux.cpp | ||
scudo_tls_linux.inc | ||
scudo_utils.cpp | ||
scudo_utils.h |