ELF: Ignore --detect-odr-violations flag.
authorPeter Collingbourne <peter@pcc.me.uk>
Thu, 7 Apr 2016 23:15:50 +0000 (23:15 +0000)
committerPeter Collingbourne <peter@pcc.me.uk>
Thu, 7 Apr 2016 23:15:50 +0000 (23:15 +0000)
Differential Revision: http://reviews.llvm.org/D18877

llvm-svn: 265744

lld/ELF/Options.td

index 99ec3d8..4339d77 100644 (file)
@@ -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">;