[PATCH] D70919: [Hexagon] Avoid passing unsupported options to lld when -fuse-ld=lld is used
Brian Cain via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Dec 5 09:05:05 PST 2019
bcain added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Hexagon.cpp:212
bool UseG0 = false;
+ bool UseLLD = Args.getLastArgValue(options::OPT_fuse_ld_EQ).startswith("lld");
bool UseShared = IsShared && !IsStatic;
----------------
Does this still work when `-fuse-ld=ld.lld` ? How about absolute paths `-fuse-ld=/path/to/lld`?
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D70919/new/
https://reviews.llvm.org/D70919
More information about the cfe-commits
mailing list