Use the Gnu driver mode by default for all platforms when ld is
invoked. Other names for the program (such as link or ld64) continue
working as before.
Details
Details
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Event Timeline
Comment Actions
I think this should be fine. While the Darwin linker is indeed called ld as well, anyone who's using LLD for Darwin should be going through the Clang driver with -fuse-ld=lld, which will continue to do the right thing.
Comment Actions
LGTM
I think this behavior was carried over from the previous version of lld, but I believe this would cause confusion than being convenient. This is also against our general policy to make cross-linking easier, which is "lld should not change the behavior on which OS it is running".