forked from OSchip/llvm-project
Remove redundnat Args.filter() argument.
OPT_plugin_opt_eq is an alias to OPT_plugin_opt, so we don't need to give that twice. llvm-svn: 322263
This commit is contained in:
parent
d1696e8d6c
commit
45fcbf0991
|
@ -683,7 +683,7 @@ void LinkerDriver::readConfigs(opt::InputArgList &Args) {
|
||||||
Config->ZWxneeded = hasZOption(Args, "wxneeded");
|
Config->ZWxneeded = hasZOption(Args, "wxneeded");
|
||||||
|
|
||||||
// Parse LTO plugin-related options for compatibility with gold.
|
// Parse LTO plugin-related options for compatibility with gold.
|
||||||
for (auto *Arg : Args.filtered(OPT_plugin_opt, OPT_plugin_opt_eq)) {
|
for (auto *Arg : Args.filtered(OPT_plugin_opt)) {
|
||||||
StringRef S = Arg->getValue();
|
StringRef S = Arg->getValue();
|
||||||
if (S == "disable-verify")
|
if (S == "disable-verify")
|
||||||
Config->DisableVerify = true;
|
Config->DisableVerify = true;
|
||||||
|
|
Loading…
Reference in New Issue