From e2176605916926cd7e8417b6fd53fec81a97d0fb Mon Sep 17 00:00:00 2001 From: Peter Collingbourne Date: Thu, 7 Apr 2016 23:15:50 +0000 Subject: [PATCH] ELF: Ignore --detect-odr-violations flag. Differential Revision: http://reviews.llvm.org/D18877 llvm-svn: 265744 --- lld/ELF/Options.td | 1 + 1 file changed, 1 insertion(+) diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td index 99ec3d8..4339d77 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">; -- 2.7.4