summaryrefslogtreecommitdiff
path: root/lld/ELF/MarkLive.cpp
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-11-06 04:39:07 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-11-06 04:39:07 +0000
commit55778f5e6ad13fe394e9b7689ea4dbb3f1cbb167 (patch)
treef5dfe6eed8c720c108e8c1b245eaaa4f574b78de /lld/ELF/MarkLive.cpp
parentde29149e2f07c90203cd0e43a95d9cf1108dfcc4 (diff)
ELF: Remove function Symbol::isInCurrentOutput().
This function is now equivalent to isDefined().
Diffstat (limited to 'lld/ELF/MarkLive.cpp')
-rw-r--r--lld/ELF/MarkLive.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/MarkLive.cpp b/lld/ELF/MarkLive.cpp
index c639198f165..3520abeff37 100644
--- a/lld/ELF/MarkLive.cpp
+++ b/lld/ELF/MarkLive.cpp
@@ -74,7 +74,7 @@ static void resolveReloc(InputSectionBase &Sec, RelT &Rel,
return;
}
- if (!B.isInCurrentOutput())
+ if (!B.isDefined())
for (InputSectionBase *Sec : CNamedSections.lookup(B.getName()))
Fn(Sec, 0);
}