[PATCH] Enable Asan on Windows

Reid Kleckner rnk at google.com
Tue Sep 16 09:27:41 PDT 2014


================
Comment at: lib/asan/asan_win_dll_thunk.cc:29
@@ +28,3 @@
+#else
+#define ABORT asm("int $3")
+#endif
----------------
I think you need volatile or some other constraint to prevent gcc from removing this.

http://reviews.llvm.org/D5367






More information about the llvm-commits mailing list