summaryrefslogtreecommitdiff
path: root/lld/ELF/MarkLive.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-10-27 22:54:16 +0000
committerRui Ueyama <ruiu@google.com>2017-10-27 22:54:16 +0000
commit71e0f01e3470da560c7a998ec16bbaa579d8ead8 (patch)
tree55d5a44ca1b4db6d651dbcc2ca11fcb7584f19f0 /lld/ELF/MarkLive.cpp
parent09094a01c191fc0ecf9fbb78e2a53596ac7e5769 (diff)
Rename isInCurrentDSO -> isInCurrentOutput.
DSO is short for dynamic shared object, so the function name was a little confusing because it sounded like it didn't work when we were a creating statically-linked executable or something. What we mean by "DSO" here is the current output file that we are creating. Thus the new name. Alternatively, we could call it the current ELF module, but "module" is a overloaded word, so I avoided that.
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 f85896ce593..b585f7edb17 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.isInCurrentDSO())
+ if (!B.isInCurrentOutput())
for (InputSectionBase *Sec : CNamedSections.lookup(B.getName()))
Fn(Sec, 0);
}