summaryrefslogtreecommitdiff
path: root/lib/msan/msan_interceptors.cc
diff options
context:
space:
mode:
authorDmitry Vyukov <dvyukov@google.com>2013-10-29 10:30:39 +0000
committerDmitry Vyukov <dvyukov@google.com>2013-10-29 10:30:39 +0000
commit5cf2c460e96e593b1c772f1b02d3a217f4837fdc (patch)
treee7cef32475ecf17e6d2a47f6a0f3d38286294ef1 /lib/msan/msan_interceptors.cc
parent7996a2e2a1c461743c9216f13429c04d75050230 (diff)
downloadcompiler-rt-5cf2c460e96e593b1c772f1b02d3a217f4837fdc.tar.gz
compiler-rt-5cf2c460e96e593b1c772f1b02d3a217f4837fdc.tar.bz2
compiler-rt-5cf2c460e96e593b1c772f1b02d3a217f4837fdc.tar.xz
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/msan/msan_interceptors.cc')
-rw-r--r--lib/msan/msan_interceptors.cc3
1 files changed, 3 insertions, 0 deletions
diff --git a/lib/msan/msan_interceptors.cc b/lib/msan/msan_interceptors.cc
index 0c42e047..360d5a19 100644
--- a/lib/msan/msan_interceptors.cc
+++ b/lib/msan/msan_interceptors.cc
@@ -1224,6 +1224,9 @@ extern "C" int *__errno_location(void);
#define COMMON_INTERCEPTOR_SET_THREAD_NAME(ctx, name) \
do { \
} while (false) // FIXME
+#define COMMON_INTERCEPTOR_SET_PTHREAD_NAME(ctx, thread, name) \
+ do { \
+ } while (false) // FIXME
#define COMMON_INTERCEPTOR_BLOCK_REAL(name) REAL(name)
#define COMMON_INTERCEPTOR_ON_EXIT(ctx) OnExit()
#include "sanitizer_common/sanitizer_common_interceptors.inc"