[lld] r189752 - Recognize -Bshareable as alias for -shared.
Shankar Easwaran
shankare at codeaurora.org
Mon Sep 2 19:01:21 PDT 2013
Hi Joerg,
The right way of doing this would be to add multiple suffixes support to
the way command line options are handled.
There are a lot of combinations already
-Bstatic, -Bdynamic, -Bshared, -Bsymbolic, -Bgroup, -Bshareable(more in
the future probably).
Bigcheese ?
Thanks
Shankar Easwaran
On 9/2/2013 4:34 AM, Joerg Sonnenberger 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
>
>
--
Qualcomm Innovation Center, Inc. is a member of Code Aurora Forum, hosted by the Linux Foundation
More information about the llvm-commits
mailing list