[compiler-rt] r324811 - Correct a typo in tsan_pthread_setname_np in the FreeBSD code
Kamil Rytarowski via llvm-commits
llvm-commits at lists.llvm.org
Sat Feb 10 06:44:12 PST 2018
Author: kamil
Date: Sat Feb 10 06:44:12 2018
New Revision: 324811
URL: http://llvm.org/viewvc/llvm-project?rev=324811&view=rev
Log:
Correct a typo in tsan_pthread_setname_np in the FreeBSD code
Noted by David CARLIER.
Modified:
compiler-rt/trunk/test/tsan/thread_name.cc
Modified: compiler-rt/trunk/test/tsan/thread_name.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/test/tsan/thread_name.cc?rev=324811&r1=324810&r2=324811&view=diff
==============================================================================
--- compiler-rt/trunk/test/tsan/thread_name.cc (original)
+++ compiler-rt/trunk/test/tsan/thread_name.cc Sat Feb 10 06:44:12 2018
@@ -7,7 +7,7 @@
#elif defined(__FreeBSD__)
#include <pthread_np.h>
#define USE_PTHREAD_SETNAME_NP 1
-#define tasn_pthread_setname_np pthread_set_name_np
+#define tsan_pthread_setname_np pthread_set_name_np
#elif defined(__NetBSD__)
#define USE_PTHREAD_SETNAME_NP 1
#define tsan_pthread_setname_np(a, b) pthread_setname_np((a), "%s", (void *)(b))
More information about the llvm-commits
mailing list