[PATCH] D67409: [RISCV] enable LTO support, pass some options to linker.
Kito Cheng via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Thu Sep 12 13:48:19 PDT 2019
kito-cheng added inline comments.
================
Comment at: clang/lib/Driver/ToolChains/Arch/RISCV.cpp:387
+
+void riscv::addGoldOptions(const ToolChain &ToolChain,
+ const llvm::opt::ArgList &Args,
----------------
MaskRay wrote:
> gold doesn't support RISC-V, does it?
Gold doesn't support RISC-V , but ld.bfd supported same plugin API, so this made clang can run LTO with ld.bfd.
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D67409/new/
https://reviews.llvm.org/D67409
More information about the cfe-commits
mailing list