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

Timur Iskhodzhanov timurrrr at google.com
Fri Aug 30 04:07:57 PDT 2013


2013/8/30 Hans Wennborg <hans at chromium.org>

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

Awesome, thanks!

> A generic -Xlink support is welcome too :)
>
> clang-cl supports /link actually, which forwards all following
> arguments to the linker.
>

OK, will use it then :)


>
>  - Hans
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20130830/9614e481/attachment.html>


More information about the cfe-commits mailing list