Go to the documentation of this file.
69 typedef std::map<std::string, int>
NameMap;
94 for (
const auto &symbol:
symbols)
115 auto filt = [binding](
const Symbol &symbol) {
116 return symbol.binding == binding;
133 bool load(
const std::string &file);
183 AddrMap::const_iterator
i =
addrMap.find(address);
211 AddrMap::const_iterator
i =
addrMap.end();
225 AddrMap::const_iterator
i =
addrMap.end();
242 #endif // __SYMTAB_HH__
const_iterator findNearest(Addr addr, Addr &nextaddr) const
Find the nearest symbol equal to or less than the supplied address (e.g., the label for the enclosing...
SymbolTablePtr filterByBinding(Symbol::Binding binding) const
std::shared_ptr< SymbolTable > SymbolTablePtr
std::vector< Symbol > SymbolVector
bool load(const std::string &file)
SymbolVector::iterator iterator
SymbolTablePtr locals() const
void serialize(const std::string &base, CheckpointOut &cp) const
const_iterator find(Addr address) const
SymbolTable debugSymbolTable
Global unified debugging symbol table (for target).
const_iterator findNearest(Addr addr) const
Overload for findNearestSymbol() for callers who don't care about nextaddr.
std::map< std::string, int > NameMap
const_iterator begin() const
SymbolTablePtr offset(Addr by) const
void unserialize(const std::string &base, CheckpointIn &cp, Symbol::Binding default_binding=Symbol::Binding::Global)
uint64_t Addr
Address type This will probably be moved somewhere else in the near future.
const std::string & name()
SymbolTablePtr operate(SymTabOp op) const
SymbolTablePtr globals() const
std::function< void(SymbolTable &symtab, const Symbol &symbol)> SymTabOp
bool upperBound(Addr addr, AddrMap::const_iterator &iter) const
std::multimap< Addr, int > AddrMap
const_iterator end() const
SymbolVector::const_iterator const_iterator
SymbolTablePtr mask(Addr m) const
std::ostream CheckpointOut
std::function< bool(const Symbol &symbol)> SymTabFilter
SymbolTablePtr filter(SymTabFilter filter) const
bool insert(const Symbol &symbol)
SymbolTablePtr weaks() const
const_iterator find(const std::string &name) const
Generated on Wed Sep 30 2020 14:02:07 for gem5 by doxygen 1.8.17