[PATCH] D20423: [Clang][LLVMGold] Passing LLVM arguments to gold plugin

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Thu May 19 11:26:42 PDT 2016


pcc added a comment.

In http://reviews.llvm.org/D20423#434683, @tejohnson wrote:

> In http://reviews.llvm.org/D20423#434665, @pcc wrote:
>
> > Plugin-opt (and mllvm) aren't really meant for users, I'm not sure that we
> >  need to be making them easier to specify like that.
>
>
> True but from a developer's standpoint this increases usability quite a bit. We're passing one developer option to another to make the handling of the -mllvm developer option uniform with and without -flto.


Okay, but It isn't really uniform though because the flag only works with gold (and not ld64, lld etc).

That said I don't feel too strongly about it, so while it would be nice if the flag worked with those linkers, that doesn't need to happen in this patch.


http://reviews.llvm.org/D20423





More information about the llvm-commits mailing list