summaryrefslogtreecommitdiffstats
path: root/lld/ELF/InputFiles.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/InputFiles.cpp')
-rw-r--r--lld/ELF/InputFiles.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp
index bedc279f4df..aa44fe21d46 100644
--- a/lld/ELF/InputFiles.cpp
+++ b/lld/ELF/InputFiles.cpp
@@ -446,7 +446,7 @@ elf::ObjectFile<ELFT>::getSection(const Elf_Sym &Sym) const {
fatal(getFilename(this) + ": invalid section index: " + Twine(Index));
}
- if (S == &InputSectionBase<ELFT>::Discarded)
+ if (S == &InputSection<ELFT>::Discarded)
return S;
return S->Repl;
}
OpenPOWER on IntegriCloud