Skip to content

Commit fd6d660

Browse files
committed
[ELF] Don't ignore --detect-odr-violations
We don't implement the gold specific feature and it's inappropriate to ignore it. The option is used by some projects under gold configure checks.
1 parent cae1942 commit fd6d660

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

lld/ELF/Options.td

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -698,7 +698,6 @@ def: J<"plugin-opt=-pass-through=">;
698698
def plugin_opt_eq : J<"plugin-opt=">;
699699

700700
// Options listed below are silently ignored for now for compatibility.
701-
def: F<"detect-odr-violations">;
702701
def: Flag<["-"], "d">;
703702
def: Flag<["-"], "g">;
704703
def: F<"long-plt">;

lld/test/ELF/silent-ignore.test

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
RUN: ld.lld --version \
22
RUN: -d \
3-
RUN: -detect-odr-violations \
43
RUN: -g \
54
RUN: -long-plt \
65
RUN: --no-add-needed \

0 commit comments

Comments
 (0)