summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRafael Espindola <rafael.espindola@gmail.com>2015-10-02 14:25:26 +0000
committerRafael Espindola <rafael.espindola@gmail.com>2015-10-02 14:25:26 +0000
commitfc96a263a11483b8e93da577e25aa74aba8cd2c1 (patch)
tree05c6d75dafc4510bf5d1cc2aaeb51cdce1467357
parent327b178dd6712ee1663eefc76c35eda79bd1cc58 (diff)
downloadbcm5719-llvm-fc96a263a11483b8e93da577e25aa74aba8cd2c1.tar.gz
bcm5719-llvm-fc96a263a11483b8e93da577e25aa74aba8cd2c1.zip
Ignore options used during a clang build.
llvm-svn: 249135
-rw-r--r--lld/ELF/Options.td3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td
index e0b08a95342..14b0d5f7f02 100644
--- a/lld/ELF/Options.td
+++ b/lld/ELF/Options.td
@@ -78,13 +78,16 @@ def alias_l : Joined<["--"], "library=">, Alias<l>;
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">;
OpenPOWER on IntegriCloud