diff options
author | Nico Weber <thakis@chromium.org> | 2020-11-16 15:23:02 -0500 |
---|---|---|
committer | Nico Weber <thakis@chromium.org> | 2020-11-16 15:23:03 -0500 |
commit | f2710d4b576053d405af7a0e2a62ea06d5a978e3 (patch) | |
tree | 1af72f92b865595edd860415a3bf41de2830a215 /clang/lib/Frontend/CompilerInvocation.cpp | |
parent | 257d33c815d4a204b5a9de1ab2b1ed21c94c2ae6 (diff) | |
download | llvm-f2710d4b576053d405af7a0e2a62ea06d5a978e3.zip llvm-f2710d4b576053d405af7a0e2a62ea06d5a978e3.tar.gz llvm-f2710d4b576053d405af7a0e2a62ea06d5a978e3.tar.bz2 |
lld/mach-o: Infer darwinnew from filename ld64.lld.darwinnew too
`-flavor` is difficult to use through the clang driver since it
must be the first argument.
clang's `-fuse-ld=foo` looks for `ld64.foo` when targeting darwin,
so it's easiest if darwinnew accepts some `ld64.foo`. Let's go with
`ld64.lld.darwinnew`, so that `clang -fuse-ld=lld.darwinnew` does
the right thing (assuming a symlink with the name `ld64.ld.darwinnew
exists in the right place).
This is temporary until darwinnew replaces ld64.lld, and it only
exists to make testing the new lld port easier.
Diffstat (limited to 'clang/lib/Frontend/CompilerInvocation.cpp')
0 files changed, 0 insertions, 0 deletions