Pass the section table to getSectionStringTable. NFC.
This will let us simplify the llvm side.
llvm-svn: 285816
diff --git a/lld/ELF/InputFiles.cpp b/lld/ELF/InputFiles.cpp
index f8e8006..5bbea4f 100644
--- a/lld/ELF/InputFiles.cpp
+++ b/lld/ELF/InputFiles.cpp
@@ -291,7 +291,7 @@
   uint64_t Size = ObjSections.size();
   Sections.resize(Size);
   unsigned I = -1;
-  StringRef SectionStringTable = check(Obj.getSectionStringTable());
+  StringRef SectionStringTable = check(Obj.getSectionStringTable(ObjSections));
   for (const Elf_Shdr &Sec : ObjSections) {
     ++I;
     if (Sections[I] == &InputSection<ELFT>::Discarded)