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

Timur Iskhodzhanov timurrrr at google.com
Fri Aug 30 03:04:27 PDT 2013


2013/8/28 Timur Iskhodzhanov <timurrrr at google.com>

> 2013/8/27 Hans Wennborg <hans at chromium.org>
>
>> +    llvm::sys::path::append(
>> +        LibSanitizer, "lib", "windows", "clang_rt.asan-i386.lib");
>>
>
> Can you also add "-debug" to the linker flags when using ASan?


Can you also add -incremental:no ?
Interestingly, the stack traces are very different when using incremental
linking, even when there's no .ilk file.

A generic -Xlink support is welcome too :)
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130830/0b4339d3/attachment.html>


More information about the cfe-commits mailing list