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

Hans Wennborg hans at chromium.org
Wed Aug 28 10:57:53 PDT 2013


On Wed, Aug 28, 2013 at 7:52 AM, Timur Iskhodzhanov <timurrrr at google.com> wrote:
>
> 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?

Sure, Clang r189496.



More information about the cfe-commits mailing list