jyknight added a comment.
BTW, I just noticed recently that we have a -mlinker-version= flag, too, which
is only used on darwin at the moment. That's another instance of "we need to
condition behavior based on what linker we're invoking", but in this case,
between multiple versions of apple's linker, rather than which brand of linker.
That doesn't impact this directly, but just thought I'd mention it as it's in
the same area of concern.
================
Comment at: clang/lib/Driver/ToolChain.cpp:556-557
+ // -fld-path= takes precedence over -fuse-ld= and specifies the executable
+ // name. PATH is consulted if the value does not contain /. -B is
+ // intentionally ignored.
+ if (const Arg *A = Args.getLastArg(options::OPT_fld_path_EQ)) {
----------------
Shouldn't this use -B paths? Why do we want to ignore them?
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D83015/new/
https://reviews.llvm.org/D83015
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits