summaryrefslogtreecommitdiffstats
path: root/lld/ELF/SymbolTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/ELF/SymbolTable.h')
-rw-r--r--lld/ELF/SymbolTable.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/lld/ELF/SymbolTable.h b/lld/ELF/SymbolTable.h
index 6cf4c531700..4ba1fb041f7 100644
--- a/lld/ELF/SymbolTable.h
+++ b/lld/ELF/SymbolTable.h
@@ -61,6 +61,10 @@ public:
return EntrySym->getReplacement();
}
+ template <class ELFT>
+ void addSyntheticSym(StringRef Name, OutputSection<ELFT> &Section,
+ typename llvm::object::ELFFile<ELFT>::uintX_t Value);
+
private:
Symbol *insert(SymbolBody *New);
template <class ELFT> void addELFFile(ELFFileBase *File);
OpenPOWER on IntegriCloud