summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2016-04-07 23:15:50 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2016-04-07 23:15:50 +0000
commite2176605916926cd7e8417b6fd53fec81a97d0fb (patch)
treef38a0590a94ffb1f31cf5fa3b50dad3a7aaa0736
parent88f7f6bc4fe7004d62a12cd06ac406cadc4f2f52 (diff)
downloadbcm5719-llvm-e2176605916926cd7e8417b6fd53fec81a97d0fb.tar.gz
bcm5719-llvm-e2176605916926cd7e8417b6fd53fec81a97d0fb.zip
ELF: Ignore --detect-odr-violations flag.
Differential Revision: http://reviews.llvm.org/D18877 llvm-svn: 265744
-rw-r--r--lld/ELF/Options.td1
1 files changed, 1 insertions, 0 deletions
diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td
index 99ec3d803de..4339d77f4cc 100644
--- a/lld/ELF/Options.td
+++ b/lld/ELF/Options.td
@@ -216,6 +216,7 @@ def plugin_opt : Separate<["--", "-"], "plugin-opt">;
def plugin_opt_eq : Joined<["--", "-"], "plugin-opt=">;
// Options listed below are silently ignored for now for compatibility.
+def detect_odr_violations : Flag<["--"], "detect-odr-violations">;
def fatal_warnings : Flag<["--"], "fatal-warnings">;
def no_add_needed : Flag<["--"], "no-add-needed">;
def no_dynamic_linker : Flag<["--"], "no-dynamic-linker">;
OpenPOWER on IntegriCloud