This is an archive of the discontinued LLVM Phabricator instance.

[Driver] Don't force .exe suffix for lld
ClosedPublic

Authored by smeenai on Jun 5 2017, 5:47 PM.

Details

Summary

When cross-compiling to Windows using lld, we want the driver to invoke
it as lld-link rather than lld-link.exe. On Windows, the LLVM fs
functions take care of adding the .exe suffix where necessary, so we can
just drop the addition in the toolchain entirely.

Diff Detail

Repository
rL LLVM

Event Timeline

smeenai created this revision.Jun 5 2017, 5:47 PM
zturner accepted this revision.Jun 5 2017, 6:04 PM
zturner added a subscriber: zturner.

Seems fine to me.

This revision is now accepted and ready to land.Jun 5 2017, 6:04 PM
This revision was automatically updated to reflect the committed changes.