Remove unused condition.
Looks like all tests pass without this `isLocal()`.
Differential Revision: https://reviews.llvm.org/D39780
llvm-svn: 319395
diff --git a/lld/ELF/Symbols.cpp b/lld/ELF/Symbols.cpp
index 7985e30..bac98ea 100644
--- a/lld/ELF/Symbols.cpp
+++ b/lld/ELF/Symbols.cpp
@@ -120,7 +120,7 @@
// Returns true if this is a weak undefined symbol.
bool Symbol::isUndefWeak() const {
// See comment on Lazy in Symbols.h for the details.
- return !isLocal() && isWeak() && (isUndefined() || isLazy());
+ return isWeak() && (isUndefined() || isLazy());
}
uint64_t Symbol::getVA(int64_t Addend) const {