[PATCH] D37727: Driver: Remove custom MinGW linker detection

Martin Storsjö via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Sep 12 04:00:41 PDT 2017


mstorsjo added a comment.

Actually, after testing this a bit more and looking at it, I withdraw my earlier complaints - this does indeed seem to work fine with my test setup. The generic `TC.GetLinkerPath()` picks up `-fuse-ld=lld` correctly and converts it into `ld.lld` which should be equivalent to `lld -flavor gnu`, at least in my linux cross compilation setup. And the extra `AddLibGCC()` call doesn't seem harmful for the lld setup.


Repository:
  rL LLVM

https://reviews.llvm.org/D37727





More information about the cfe-commits mailing list