diff options
author | Marco Vanotti <mvanotti@google.com> | 2020-09-25 14:17:22 -0700 |
---|---|---|
committer | Marco Vanotti <mvanotti@google.com> | 2020-09-25 14:22:45 -0700 |
commit | a83eb048cb9a75da7a07a9d5318bbdbf54885c87 (patch) | |
tree | b5f8adf9a5fda5359c416e2785dd90e8b0a39dba /lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp | |
parent | 69c6f6be07e4db11f2aca91ad7bbc0db1e9044d6 (diff) | |
download | llvm-a83eb048cb9a75da7a07a9d5318bbdbf54885c87.zip llvm-a83eb048cb9a75da7a07a9d5318bbdbf54885c87.tar.gz llvm-a83eb048cb9a75da7a07a9d5318bbdbf54885c87.tar.bz2 |
[lsan] Add interceptor for pthread_detach.
This commit adds an interceptor for the pthread_detach function,
calling into ThreadRegistry::DetachThread, allowing for thread contexts
to be reused.
Without this change, programs may fail when they create more than 8K
threads.
Fixes: https://bugs.llvm.org/show_bug.cgi?id=47389
Reviewed By: vitalybuka
Differential Revision: https://reviews.llvm.org/D88184
Diffstat (limited to 'lldb/unittests/ScriptInterpreter/Python/PythonTestSuite.cpp')
0 files changed, 0 insertions, 0 deletions