Home
last modified time | relevance | path

Searched refs:SymbolEntry (Results 1 – 7 of 7) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ObjCopy/MachO/
H A DMachOObject.h110 struct SymbolEntry { struct
140 std::vector<std::unique_ptr<SymbolEntry>> Symbols; argument
143 std::vector<std::unique_ptr<SymbolEntry>>::const_iterator>;
148 const SymbolEntry *getSymbolByIndex(uint32_t Index) const;
149 SymbolEntry *getSymbolByIndex(uint32_t Index);
151 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove);
160 Optional<SymbolEntry *> Symbol;
162 IndirectSymbolEntry(uint32_t OriginalIndex, Optional<SymbolEntry *> Symbol) in IndirectSymbolEntry()
178 Optional<const SymbolEntry *> Symbol;
H A DMachOObject.cpp16 const SymbolEntry *SymbolTable::getSymbolByIndex(uint32_t Index) const { in getSymbolByIndex()
21 SymbolEntry *SymbolTable::getSymbolByIndex(uint32_t Index) { in getSymbolByIndex()
22 return const_cast<SymbolEntry *>( in getSymbolByIndex()
27 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove) { in removeSymbols()
105 auto IsDead = [&](const std::unique_ptr<SymbolEntry> &S) -> bool { in removeSections()
110 SmallPtrSet<const SymbolEntry *, 2> DeadSymbols; in removeSections()
111 for (const std::unique_ptr<SymbolEntry> &Sym : SymTable.Symbols) in removeSections()
127 for (std::unique_ptr<SymbolEntry> &S : SymTable.Symbols) in removeSections()
H A DMachOReader.cpp217 SymbolEntry constructSymbolEntry(StringRef StrTable, const nlist_t &nlist) { in constructSymbolEntry()
220 SymbolEntry SE; in constructSymbolEntry()
232 SymbolEntry SE = in readSymbolTable()
239 O.SymTable.Symbols.push_back(std::make_unique<SymbolEntry>(SE)); in readSymbolTable()
H A DMachOLayoutBuilder.cpp55 for (std::unique_ptr<SymbolEntry> &Sym : O.SymTable.Symbols) in constructStringTable()
72 [](const std::unique_ptr<SymbolEntry> &A, in updateDySymTab()
73 const std::unique_ptr<SymbolEntry> &B) { in updateDySymTab()
H A DMachOObjcopy.cpp96 for (SymbolEntry &Sym : Obj.SymTable) { in updateAndRemoveSymbols()
103 &Obj](const std::unique_ptr<SymbolEntry> &N) { in updateAndRemoveSymbols()
H A DMachOWriter.cpp271 void writeNListEntry(const SymbolEntry &SE, bool IsLittleEndian, char *&Out, in writeNListEntry()
307 SymbolEntry *Sym = Iter->get(); in writeSymbolTable()
/llvm-project-15.0.7/cross-project-tests/debuginfo-tests/dexter/dex/debugger/dbgeng/
H A Dsymbols.py267 SymbolEntry = namedtuple("SymbolEntry", ["ModuleBase", "Offset", "Id", "Arg64", "Size", "Flags", "T… variable
347 fields = map(lambda x: getattr(symentry, x), SymbolEntry._fields)
348 return SymbolEntry(*fields)