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

Hans Wennborg hans at chromium.org
Fri Aug 30 03:54:32 PDT 2013


On Fri, Aug 30, 2013 at 12:04 PM, Timur Iskhodzhanov
<timurrrr at google.com> wrote:
>
> 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 ?

r189664

> A generic -Xlink support is welcome too :)

clang-cl supports /link actually, which forwards all following
arguments to the linker.

 - Hans



More information about the cfe-commits mailing list