[PATCH] D40849: CodeGen: support an extension to pass linker options on ELF

Saleem Abdulrasool via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Mon Dec 11 16:34:04 PST 2017


compnerd added a comment.

It also means that it is harder to add features in the future for things which may not yet exist.  As an example, there is no equivalent to this option today, but it would be pretty nice to have: `-reexport-l<ibrary>`.  This would be equivalent to forwarders in COFF and `LC_REEXPORT` in the MachO.  There is no ELF equivalent, but, were we to add that to the linker, this would now require changing the entire toolchain rather than forwarding the one single option.


Repository:
  rL LLVM

https://reviews.llvm.org/D40849





More information about the llvm-commits mailing list