[llvm-commits] [compiler-rt] r157603 - /compiler-rt/trunk/lib/asan/asan_interface.h

Alexander Potapenko glider at google.com
Tue May 29 01:26:18 PDT 2012


Author: glider
Date: Tue May 29 03:26:18 2012
New Revision: 157603

URL: http://llvm.org/viewvc/llvm-project?rev=157603&view=rev
Log:
Do not define ___asan_default_options on Windows.

Modified:
    compiler-rt/trunk/lib/asan/asan_interface.h

Modified: compiler-rt/trunk/lib/asan/asan_interface.h
URL: http://llvm.org/viewvc/llvm-project/compiler-rt/trunk/lib/asan/asan_interface.h?rev=157603&r1=157602&r2=157603&view=diff
==============================================================================
--- compiler-rt/trunk/lib/asan/asan_interface.h (original)
+++ compiler-rt/trunk/lib/asan/asan_interface.h Tue May 29 03:26:18 2012
@@ -165,8 +165,11 @@
   // Prints accumulated stats to stderr. Used for debugging.
   void __asan_print_accumulated_stats()
       ASAN_INTERFACE_FUNCTION_ATTRIBUTE;
+#if !defined(_WIN32)
+  // We do not need to redefine the defaults right now on Windows.
   char *__asan_default_options
       ASAN_WEAK_ATTRIBUTE;
+#endif
 }  // namespace
 
 #undef ASAN_INTERFACE_FUNCTION_ATTRIBUTE





More information about the llvm-commits mailing list