[PATCH] D74704: Support -fuse-ld=lld for riscv

Sam Elliott via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon Feb 17 06:34:29 PST 2020


lenary added a comment.

I am worried about the interaction between `-fuse-ld=lld` and linker relaxation (which is not supported by LLD, as I understand it)

1. clang could ignore `-fuse-ld=lld` when linker relaxation is enabled
2. clang could ignore (disable) linker relaxation if `-fuse-ld=lld` is used

At the very least, a warning of some kind should be emitted if linker relaxation is combined with `-fuse-ld=lld`.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D74704/new/

https://reviews.llvm.org/D74704





More information about the cfe-commits mailing list