summaryrefslogtreecommitdiffstats
path: root/lld/include/lld/Core/SymbolTable.h
diff options
context:
space:
mode:
Diffstat (limited to 'lld/include/lld/Core/SymbolTable.h')
-rw-r--r--lld/include/lld/Core/SymbolTable.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/lld/include/lld/Core/SymbolTable.h b/lld/include/lld/Core/SymbolTable.h
index fac76d07507..0cf1e2e1048 100644
--- a/lld/include/lld/Core/SymbolTable.h
+++ b/lld/include/lld/Core/SymbolTable.h
@@ -67,6 +67,9 @@ public:
/// @brief count of by-name entries in symbol table
unsigned int size();
+ /// @brief add atom to replacement table
+ void addReplacement(const Atom *replaced, const Atom *replacement);
+
/// @brief if atom has been coalesced away, return replacement, else return atom
const Atom *replacement(const Atom *);
OpenPOWER on IntegriCloud