Fix typo.

llvm-svn: 332859
This commit is contained in:
Rui Ueyama 2018-05-21 18:12:46 +00:00
parent 147db3e628
commit 9867c9e2bf
1 changed files with 2 additions and 1 deletions

View File

@ -373,8 +373,9 @@ Symbol *SymbolTable::addUndefined(StringRef Name, uint8_t Binding,
bool Backref =
Config->WarnBackrefs && File && S->File->GroupId < File->GroupId;
fetchLazy<ELFT>(S);
// We don't report backward references to weak symbols as they can be
// overriden later.
// overridden later.
if (Backref && S->Binding != STB_WEAK)
warn("backward reference detected: " + Name + " in " + toString(File) +
" refers to " + toString(S->File));