[lld] r265744 - ELF: Ignore --detect-odr-violations flag.

Peter Collingbourne via llvm-commits llvm-commits at lists.llvm.org
Thu Apr 7 16:15:50 PDT 2016


Author: pcc
Date: Thu Apr  7 18:15:50 2016
New Revision: 265744

URL: http://llvm.org/viewvc/llvm-project?rev=265744&view=rev
Log:
ELF: Ignore --detect-odr-violations flag.

Differential Revision: http://reviews.llvm.org/D18877

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=265744&r1=265743&r2=265744&view=diff
==============================================================================
--- lld/trunk/ELF/Options.td (original)
+++ lld/trunk/ELF/Options.td Thu Apr  7 18:15:50 2016
@@ -216,6 +216,7 @@ def plugin_opt : Separate<["--", "-"], "
 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">;




More information about the llvm-commits mailing list