aboutsummaryrefslogtreecommitdiffstats
path: root/ELF/SyntheticSections.h
diff options
context:
space:
mode:
Diffstat (limited to 'ELF/SyntheticSections.h')
-rw-r--r--ELF/SyntheticSections.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/ELF/SyntheticSections.h b/ELF/SyntheticSections.h
index dfefb3821e75..f7e891ec3a66 100644
--- a/ELF/SyntheticSections.h
+++ b/ELF/SyntheticSections.h
@@ -372,6 +372,8 @@ public:
ArrayRef<SymbolTableEntry> getSymbols() const { return Symbols; }
+ static const OutputSectionBase *getOutputSection(SymbolBody *Sym);
+
unsigned NumLocals = 0;
StringTableSection<ELFT> &StrTabSec;
@@ -379,8 +381,6 @@ private:
void writeLocalSymbols(uint8_t *&Buf);
void writeGlobalSymbols(uint8_t *Buf);
- const OutputSectionBase *getOutputSection(SymbolBody *Sym);
-
// A vector of symbols and their string table offsets.
std::vector<SymbolTableEntry> Symbols;
};