diff options
author | Dmitry Vyukov <dvyukov@google.com> | 2013-10-29 10:30:39 +0000 |
---|---|---|
committer | Dmitry Vyukov <dvyukov@google.com> | 2013-10-29 10:30:39 +0000 |
commit | 5cf2c460e96e593b1c772f1b02d3a217f4837fdc (patch) | |
tree | e7cef32475ecf17e6d2a47f6a0f3d38286294ef1 /lib/sanitizer_common/sanitizer_thread_registry.h | |
parent | 7996a2e2a1c461743c9216f13429c04d75050230 (diff) |
tsan/asan: support pthread_setname_np to set thread names
git-svn-id: https://llvm.org/svn/llvm-project/compiler-rt/trunk@193602 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/sanitizer_common/sanitizer_thread_registry.h')
-rw-r--r-- | lib/sanitizer_common/sanitizer_thread_registry.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/sanitizer_common/sanitizer_thread_registry.h b/lib/sanitizer_common/sanitizer_thread_registry.h index 6072e7c0a..a59bba570 100644 --- a/lib/sanitizer_common/sanitizer_thread_registry.h +++ b/lib/sanitizer_common/sanitizer_thread_registry.h @@ -109,6 +109,7 @@ class ThreadRegistry { ThreadContextBase *FindThreadContextByOsIDLocked(uptr os_id); void SetThreadName(u32 tid, const char *name); + void SetThreadNameByUserId(uptr user_id, const char *name); void DetachThread(u32 tid); void JoinThread(u32 tid, void *arg); void FinishThread(u32 tid); |