[compiler-rt] r312032 - Disable stack depth tracking on Windows.
Matt Morehouse via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 29 13:44:41 PDT 2017
Author: morehouse
Date: Tue Aug 29 13:44:41 2017
New Revision: 312032
URL: http://llvm.org/viewvc/llvm-project?rev=312032&view=rev
Log:
Disable stack depth tracking on Windows.
Windows doesn't support the tls_model attribute.
Modified:
compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
Modified: compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h?rev=312032&r1=312031&r2=312032&view=diff
==============================================================================
--- compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h (original)
+++ compiler-rt/trunk/lib/sanitizer_common/sanitizer_internal_defs.h Tue Aug 29 13:44:41 2017
@@ -36,7 +36,7 @@
#endif
// Mac handles TLS differently
-#if SANITIZER_MAC
+#if SANITIZER_MAC || SANITIZER_WINDOWS
# define SANITIZER_TLS_INITIAL_EXEC_ATTRIBUTE
#else
# define SANITIZER_TLS_INITIAL_EXEC_ATTRIBUTE \
More information about the llvm-commits
mailing list