forked from OSchip/llvm-project
[LLD] [COFF] Fix a condition that was missed in 7f0e6c31c2
. NFC.
This should fix cases when e.g. auto import is enabled without mingw mode in total being enabled. Differential Revision: https://reviews.llvm.org/D89006
This commit is contained in:
parent
7c6bfd90ab
commit
9803cf57d6
|
@ -402,7 +402,7 @@ void SymbolTable::reportUnresolvable() {
|
|||
}
|
||||
if (name.contains("_PchSym_"))
|
||||
continue;
|
||||
if (config->mingw && impSymbol(name))
|
||||
if (config->autoImport && impSymbol(name))
|
||||
continue;
|
||||
undefs.insert(sym);
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue