================ 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