[lld] r332859 - Fix typo.
Rui Ueyama via llvm-commits
llvm-commits at lists.llvm.org
Mon May 21 11:12:46 PDT 2018
Author: ruiu
Date: Mon May 21 11:12:46 2018
New Revision: 332859
URL: http://llvm.org/viewvc/llvm-project?rev=332859&view=rev
Log:
Fix typo.
Modified:
lld/trunk/ELF/SymbolTable.cpp
Modified: lld/trunk/ELF/SymbolTable.cpp
URL: http://llvm.org/viewvc/llvm-project/lld/trunk/ELF/SymbolTable.cpp?rev=332859&r1=332858&r2=332859&view=diff
==============================================================================
--- lld/trunk/ELF/SymbolTable.cpp (original)
+++ lld/trunk/ELF/SymbolTable.cpp Mon May 21 11:12:46 2018
@@ -373,8 +373,9 @@ Symbol *SymbolTable::addUndefined(String
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));
More information about the llvm-commits
mailing list