[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
Tue Dec 12 13:44:51 PST 2017


compnerd added a comment.

I don't think that parsing the options on the LLVM side is a good idea.  What if the linker uses a non-GNU style driver?  What if there are multiple ways of specifying the option (joined vs separate)?  This is something that really should be pushed further down.  Can you even do `-l library` with the GNU driver?


Repository:
  rL LLVM

https://reviews.llvm.org/D40849





More information about the llvm-commits mailing list