[PATCH] D27869: [libFuzzer] Diff 24 - Use clang as linker in Windows, to properly include sanitizer libraries.

Zachary Turner via llvm-commits llvm-commits at lists.llvm.org
Fri Dec 16 16:41:31 PST 2016


Ignore my last comment, I think I get it now.

On Fri, Dec 16, 2016 at 4:31 PM Zachary Turner via Phabricator <
reviews at reviews.llvm.org> wrote:

> zturner added a comment.
>
> Try passing `-fuse-ld=lld` to clang-cl.  We basically whitelist certain
> gcc-style options, and this is one of them.  That's why `-g` doesn't work,
> but certain other options do.  It's kind of a hodgepodge and there's no
> clearly defined pattern for which ones we accept and which ones we don't.
>
> In any way, in this case `-fuse-ld=lld` should force it to use lld.
>
>
> Repository:
>   rL LLVM
>
> https://reviews.llvm.org/D27869
>
>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20161217/325c0ee7/attachment.html>


More information about the llvm-commits mailing list