[PATCH] D58958: [sanitizers] Don't use Windows Trace Logging with Clang in MSVC mode either
Martin Storsjö via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Tue Mar 5 04:50:32 PST 2019
This revision was automatically updated to reflect the committed changes.
Closed by commit rCRT355397: [sanitizers] Don't use Windows Trace Logging with Clang in MSVC mode either (authored by mstorsjo, committed by ).
Repository:
rCRT Compiler Runtime
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D58958/new/
https://reviews.llvm.org/D58958
Files:
lib/sanitizer_common/sanitizer_common.h
Index: lib/sanitizer_common/sanitizer_common.h
===================================================================
--- lib/sanitizer_common/sanitizer_common.h
+++ lib/sanitizer_common/sanitizer_common.h
@@ -804,7 +804,7 @@
void WriteToSyslog(const char *buffer);
-#if defined(SANITIZER_WINDOWS) && defined(_MSC_VER)
+#if defined(SANITIZER_WINDOWS) && defined(_MSC_VER) && !defined(__clang__)
#define SANITIZER_WIN_TRACE 1
#else
#define SANITIZER_WIN_TRACE 0
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D58958.189303.patch
Type: text/x-patch
Size: 466 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20190305/478b4977/attachment.bin>
More information about the llvm-commits
mailing list