[LSAN] Fix pthread_create interceptor to ignore leaks in real pthread_create.
authorKirill Stoimenov <kstoimenov@google.com>
Wed, 8 Feb 2023 19:36:43 +0000 (19:36 +0000)
committerKirill Stoimenov <kstoimenov@google.com>
Wed, 8 Feb 2023 20:36:35 +0000 (20:36 +0000)
commita7db3cb257ff6396481f44427bccd0ca5abf4d63
tree9fefbfe91f781199d7c4b40101040f4a2a879e79
parentce63cd3bf1df5e9940c1c5e691029830e5041332
[LSAN] Fix pthread_create interceptor to ignore leaks in real pthread_create.

Reviewed By: vitalybuka

Differential Revision: https://reviews.llvm.org/D143209
compiler-rt/lib/hwasan/hwasan_interceptors.cpp
compiler-rt/test/lsan/TestCases/Linux/disabler_in_tsd_destructor.c
compiler-rt/test/lsan/TestCases/high_allocator_contention.cpp
compiler-rt/test/lsan/TestCases/leak_check_before_thread_started.cpp