summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--lld/ELF/InputFiles.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/lld/ELF/InputFiles.h b/lld/ELF/InputFiles.h
index d190e59ab70..8997b3fa724 100644
--- a/lld/ELF/InputFiles.h
+++ b/lld/ELF/InputFiles.h
@@ -166,8 +166,6 @@ public:
ObjFile(MemoryBufferRef M, StringRef ArchiveName);
void parse(llvm::DenseSet<llvm::CachedHashStringRef> &ComdatGroups);
- InputSectionBase *getSection(uint32_t Index) const;
-
Symbol &getSymbol(uint32_t SymbolIndex) const {
if (SymbolIndex >= this->Symbols.size())
fatal(toString(this) + ": invalid symbol index");
@@ -196,6 +194,7 @@ public:
StringRef SourceFile;
private:
+ InputSectionBase *getSection(uint32_t Index) const;
void
initializeSections(llvm::DenseSet<llvm::CachedHashStringRef> &ComdatGroups);
void initializeSymbols();
OpenPOWER on IntegriCloud