[PATCH] Enable Asan on Windows

Timur Iskhodzhanov timurrrr at google.com
Tue Sep 16 06:43:51 PDT 2014


================
Comment at: lib/asan/CMakeLists.txt:200
@@ +199,3 @@
+      else()
+        set(OMIT_DEFAULT_LIB_NAME_FLAG "")
+      endif()
----------------
Is there an equivalent of /Zl (Omit Default Library Name) in non-MSVC compilers?

================
Comment at: lib/asan/asan_win_dll_thunk.cc:27
@@ +26,3 @@
+#ifdef _MSC_VER
+#define ABORT __debugbreak()
+#else
----------------
maybe `DEBUG_BREAK` is more appropriate, what do you think?

http://reviews.llvm.org/D5367






More information about the llvm-commits mailing list