[lld] r189752 - Recognize -Bshareable as alias for -shared.

Rui Ueyama ruiu at google.com
Mon Sep 2 16:34:37 PDT 2013


LGTM


On Mon, Sep 2, 2013 at 2:34 AM, Joerg Sonnenberger <joerg at bec.de> wrote:

> Author: joerg
> Date: Mon Sep  2 04:34:35 2013
> New Revision: 189752
>
> URL: http://llvm.org/viewvc/llvm-project?rev=189752&view=rev
> Log:
> Recognize -Bshareable as alias for -shared.
>
> Modified:
>     lld/trunk/lib/Driver/LDOptions.td
>
> Modified: lld/trunk/lib/Driver/LDOptions.td
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/lib/Driver/LDOptions.td?rev=189752&r1=189751&r2=189752&view=diff
>
> ==============================================================================
> --- lld/trunk/lib/Driver/LDOptions.td (original)
> +++ lld/trunk/lib/Driver/LDOptions.td Mon Sep  2 04:34:35 2013
> @@ -48,6 +48,7 @@ def soname : Separate<["-"], "soname">;
>
>  def static : Flag<["-"], "static">;
>  def shared : Flag<["-"], "shared">;
> +def Bshareable : Flag<["-"], "Bshareable">, Alias<shared>;
>  def start_group : Flag<["--"], "start-group">;
>  def end_group : Flag<["--"], "end-group">;
>  def build_id : Flag<["--"], "build-id">;
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20130902/a2688710/attachment.html>


More information about the llvm-commits mailing list