[lld] r277531 - [ELF] Ignore -g option for compatibility.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Tue Aug 2 15:27:27 PDT 2016
Out of curiosity, what is the program that still uses -g? Manual pages of
ld.bfd and ld.gold say that "-g is ignored" without any justification, so I
guess it's been dead for long.
On Tue, Aug 2, 2016 at 3:14 PM, Davide Italiano via llvm-commits <
llvm-commits at lists.llvm.org> wrote:
> Author: davide
> Date: Tue Aug 2 17:14:00 2016
> New Revision: 277531
>
> URL: http://llvm.org/viewvc/llvm-project?rev=277531&view=rev
> Log:
> [ELF] Ignore -g option for compatibility.
>
> Also ld.bfd and ld.gold ignore this options. I hit this one in
> the wild, and just ignoring it's trivial, so, let's do it.
>
> Modified:
> lld/trunk/ELF/Options.td
>
> Modified: lld/trunk/ELF/Options.td
> URL:
> http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.td?rev=277531&r1=277530&r2=277531&view=diff
>
> ==============================================================================
> --- lld/trunk/ELF/Options.td (original)
> +++ lld/trunk/ELF/Options.td Tue Aug 2 17:14:00 2016
> @@ -247,6 +247,7 @@ def allow_shlib_undefined: F<"allow-shli
> def define_common: F<"define-common">;
> def demangle: F<"demangle">;
> def detect_odr_violations: F<"detect-odr-violations">;
> +def g: Flag<["-"], "g">;
> def no_add_needed: F<"no-add-needed">;
> def no_allow_shlib_undefined: F<"no-allow-shlib-undefined">;
> def no_copy_dt_needed_entries: F<"no-copy-dt-needed-entries">,
>
>
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20160802/b4e071a9/attachment.html>
More information about the llvm-commits
mailing list