[PATCH] clang-cl: support -fsanitize=address

Timur Iskhodzhanov timurrrr at google.com
Tue Aug 27 09:15:15 PDT 2013



================
Comment at: lib/Driver/Tools.cpp:6567
@@ +6566,3 @@
+    llvm::sys::path::append(
+        LibSanitizer, "lib", "windows", "clang_rt.asan-i386.lib");
+    CmdArgs.push_back(Args.MakeArgString(LibSanitizer));
----------------
Do you know an easy way we can add the asan_dll_thunk.lib instead when we build a DLL?


http://llvm-reviews.chandlerc.com/D1526



More information about the cfe-commits mailing list