[compiler-rt] r323413 - Correct typo in TSan code
Kamil Rytarowski via llvm-commits
llvm-commits at lists.llvm.org
Thu Jan 25 03:07:42 PST 2018
Author: kamil
Date: Thu Jan 25 03:07:42 2018
New Revision: 323413
URL: http://llvm.org/viewvc/llvm-project?rev=323413&view=rev
Log:
Correct typo in TSan code
We wrongly enabled additional (unwanted) branch for NetBSD.
Noted by Vlad Tsyrklevich
Modified:
compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
Modified: compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc?rev=323413&r1=323412&r2=323413&view=diff
==============================================================================
--- compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc (original)
+++ compiler-rt/trunk/lib/tsan/rtl/tsan_interceptors.cc Thu Jan 25 03:07:42 2018
@@ -597,7 +597,7 @@ extern "C" int TSAN_INTERCEPTOR_SIGSETJM
return 0;
}
-#if !SANITIEZER_NETBSD
+#if !SANITIZER_NETBSD
extern "C" SANITIZER_INTERFACE_ATTRIBUTE
int __interceptor___sigsetjmp(void *env);
extern "C" int __interceptor___sigsetjmp(void *env) {
@@ -609,13 +609,13 @@ extern "C" int __interceptor___sigsetjmp
extern "C" int setjmp_symname(void *env);
extern "C" int _setjmp(void *env);
extern "C" int sigsetjmp_symname(void *env);
-#if !SANITIEZER_NETBSD
+#if !SANITIZER_NETBSD
extern "C" int __sigsetjmp(void *env);
#endif
DEFINE_REAL(int, setjmp_symname, void *env)
DEFINE_REAL(int, _setjmp, void *env)
DEFINE_REAL(int, sigsetjmp_symname, void *env)
-#if !SANITIEZER_NETBSD
+#if !SANITIZER_NETBSD
DEFINE_REAL(int, __sigsetjmp, void *env)
#endif
#endif // SANITIZER_MAC
More information about the llvm-commits
mailing list