Searched refs:SymbolEntry (Results 1 – 6 of 6) sorted by relevance
104 struct SymbolEntry { struct135 std::vector<std::unique_ptr<SymbolEntry>> Symbols; argument138 std::vector<std::unique_ptr<SymbolEntry>>::const_iterator>;143 const SymbolEntry *getSymbolByIndex(uint32_t Index) const;144 SymbolEntry *getSymbolByIndex(uint32_t Index);145 void updateSymbols(function_ref<void(SymbolEntry &)> Callable);147 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove);156 std::optional<SymbolEntry *> Symbol;159 std::optional<SymbolEntry *> Symbol) in IndirectSymbolEntry()175 std::optional<const SymbolEntry *> Symbol;
26 const SymbolEntry *SymbolTable::getSymbolByIndex(uint32_t Index) const { in getSymbolByIndex()31 SymbolEntry *SymbolTable::getSymbolByIndex(uint32_t Index) { in getSymbolByIndex()32 return const_cast<SymbolEntry *>( in getSymbolByIndex()36 void SymbolTable::updateSymbols(function_ref<void(SymbolEntry &)> Callable) { in updateSymbols()50 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove) { in removeSymbols()131 auto IsDead = [&](const std::unique_ptr<SymbolEntry> &S) -> bool { in removeSections()136 SmallPtrSet<const SymbolEntry *, 2> DeadSymbols; in removeSections()137 for (const std::unique_ptr<SymbolEntry> &Sym : SymTable.Symbols) in removeSections()153 for (std::unique_ptr<SymbolEntry> &S : SymTable.Symbols) in removeSections()
221 SymbolEntry constructSymbolEntry(StringRef StrTable, const nlist_t &nlist) { in constructSymbolEntry()224 SymbolEntry SE; in constructSymbolEntry()236 SymbolEntry SE = in readSymbolTable()243 O.SymTable.Symbols.push_back(std::make_unique<SymbolEntry>(SE)); in readSymbolTable()
56 for (std::unique_ptr<SymbolEntry> &Sym : O.SymTable.Symbols) in constructStringTable()73 [](const std::unique_ptr<SymbolEntry> &A, in updateDySymTab()74 const std::unique_ptr<SymbolEntry> &B) { in updateDySymTab()
96 Obj.SymTable.updateSymbols([&](SymbolEntry &Sym) { in updateAndRemoveSymbols()130 &Obj](const std::unique_ptr<SymbolEntry> &N) { in updateAndRemoveSymbols()
271 void writeNListEntry(const SymbolEntry &SE, bool IsLittleEndian, char *&Out, in writeNListEntry()306 SymbolEntry *Sym = Symbol.get(); in writeSymbolTable()