diff --git a/lld/ELF/Options.td b/lld/ELF/Options.td --- a/lld/ELF/Options.td +++ b/lld/ELF/Options.td @@ -692,6 +692,7 @@ def: Flag<["-"], "dc">; def: Flag<["-"], "g">; def: F<"long-plt">; +def: F<"no-add-needed">; def: F<"no-copy-dt-needed-entries">; def: F<"no-ctors-in-init-array">; def: F<"no-keep-memory">; diff --git a/lld/test/ELF/silent-ignore.test b/lld/test/ELF/silent-ignore.test --- a/lld/test/ELF/silent-ignore.test +++ b/lld/test/ELF/silent-ignore.test @@ -4,6 +4,7 @@ RUN: -detect-odr-violations \ RUN: -g \ RUN: -long-plt \ +RUN: -no-add-needed \ RUN: -no-copy-dt-needed-entries \ RUN: -no-ctors-in-init-array \ RUN: -no-keep-memory \