Skip to content

Commit 9e885ea

Browse files
committed
[ELF] Remove !isLazy() condition from computeBinding
Seems applicable since we demote lazy symbols to Undefined (D111365).
1 parent c0fc09a commit 9e885ea

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

lld/ELF/Symbols.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -269,7 +269,7 @@ MemoryBufferRef LazyArchive::getMemberBuffer() {
269269

270270
uint8_t Symbol::computeBinding() const {
271271
if ((visibility != STV_DEFAULT && visibility != STV_PROTECTED) ||
272-
(versionId == VER_NDX_LOCAL && !isLazy()))
272+
versionId == VER_NDX_LOCAL)
273273
return STB_LOCAL;
274274
if (binding == STB_GNU_UNIQUE && !config->gnuUnique)
275275
return STB_GLOBAL;

0 commit comments

Comments
 (0)