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

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


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





More information about the llvm-commits mailing list