<p dir="ltr">Please delete the one dash version if we are the only one the supports it.</p>
<p dir="ltr">Cheers,<br>
Rafael</p>
<div class="gmail_quote">On Apr 21, 2016 2:34 PM, "Saleem Abdulrasool via llvm-commits" <<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: compnerd<br>
Date: Thu Apr 21 13:29:13 2016<br>
New Revision: 267032<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=267032&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=267032&view=rev</a><br>
Log:<br>
ELF: support -- version of discard-{all,locals}<br>
<br>
GNU ld and gold only support the discard-all and discard-locals with two dashes.<br>
Retain the compatibility with the one dash spelling, but also accept the two<br>
dashed form.<br>
<br>
Modified:<br>
    lld/trunk/ELF/Options.td<br>
<br>
Modified: lld/trunk/ELF/Options.td<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.td?rev=267032&r1=267031&r2=267032&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/Options.td?rev=267032&r1=267031&r2=267032&view=diff</a><br>
==============================================================================<br>
--- lld/trunk/ELF/Options.td (original)<br>
+++ lld/trunk/ELF/Options.td Thu Apr 21 13:29:13 2016<br>
@@ -32,10 +32,10 @@ def as_needed : Flag<["--"], "as-needed"<br>
 def disable_new_dtags : Flag<["--"], "disable-new-dtags">,<br>
   HelpText<"Disable new dynamic tags">;<br>
<br>
-def discard_all : Flag<["-"], "discard-all">,<br>
+def discard_all : Flag<["--", "-"], "discard-all">,<br>
   HelpText<"Delete all local symbols">;<br>
<br>
-def discard_locals : Flag<["-"], "discard-locals">,<br>
+def discard_locals : Flag<["--", "-"], "discard-locals">,<br>
   HelpText<"Delete temporary local symbols">;<br>
<br>
 def discard_none : Flag<["-"], "discard-none">,<br>
<br>
<br>
_______________________________________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits</a><br>
</blockquote></div>