[lld] r249135 - Ignore options used during a clang build.
Rafael Espindola via llvm-commits
llvm-commits at lists.llvm.org
Fri Oct 2 07:25:27 PDT 2015
Author: rafael
Date: Fri Oct 2 09:25:26 2015
New Revision: 249135
URL: http://llvm.org/viewvc/llvm-project?rev=249135&view=rev
Log:
Ignore options used during a clang build.
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=249135&r1=249134&r2=249135&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Fri Oct 2 09:25:26 2015
@@ -78,13 +78,16 @@ def alias_l : Joined<["--"], "library=">
def alias_soname : Separate<["-"], "h">, Alias<soname>;
// Options listed below are silently ignored now.
+def O3 : Flag<["-"], "O3">;
def as_needed : Flag<["--"], "as-needed">;
def build_id : Flag<["--"], "build-id">;
def eh_frame_hdr : Flag<["--"], "eh-frame-hdr">;
def end_group : Flag<["--"], "end-group">;
+def gc_sections : Flag<["--"], "gc-sections">;
def hash_style : Joined<["--"], "hash-style=">;
def m : Separate<["-"], "m">;
def no_add_needed : Flag<["--"], "no-add-needed">;
def no_as_needed : Flag<["--"], "no-as-needed">;
def start_group : Flag<["--"], "start-group">;
+def strip_all : Flag<["--"], "strip-all">;
def z : Separate<["-"], "z">;
More information about the llvm-commits
mailing list