Home
last modified time | relevance | path

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

/openbsd-src/gnu/llvm/llvm/lib/ObjCopy/MachO/
H A DMachOObject.h104 struct SymbolEntry { struct
135 std::vector<std::unique_ptr<SymbolEntry>> Symbols; argument
138 std::vector<std::unique_ptr<SymbolEntry>>::const_iterator>;
143 const SymbolEntry *getSymbolByIndex(uint32_t Index) const;
144 SymbolEntry *getSymbolByIndex(uint32_t Index);
146 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove);
155 std::optional<SymbolEntry *> Symbol;
158 std::optional<SymbolEntry *> Symbol) in IndirectSymbolEntry()
174 std::optional<const SymbolEntry *> Symbol;
H A DMachOObject.cpp25 const SymbolEntry *SymbolTable::getSymbolByIndex(uint32_t Index) const { in getSymbolByIndex()
30 SymbolEntry *SymbolTable::getSymbolByIndex(uint32_t Index) { in getSymbolByIndex()
31 return const_cast<SymbolEntry *>( in getSymbolByIndex()
36 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove) { in removeSymbols()
117 auto IsDead = [&](const std::unique_ptr<SymbolEntry> &S) -> bool { in removeSections()
122 SmallPtrSet<const SymbolEntry *, 2> DeadSymbols; in removeSections()
123 for (const std::unique_ptr<SymbolEntry> &Sym : SymTable.Symbols) in removeSections()
139 for (std::unique_ptr<SymbolEntry> &S : SymTable.Symbols) in removeSections()
H A DMachOReader.cpp220 SymbolEntry constructSymbolEntry(StringRef StrTable, const nlist_t &nlist) { in constructSymbolEntry()
223 SymbolEntry SE; in constructSymbolEntry()
235 SymbolEntry SE = in readSymbolTable()
242 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.cpp272 void writeNListEntry(const SymbolEntry &SE, bool IsLittleEndian, char *&Out, in writeNListEntry()
307 SymbolEntry *Sym = Symbol.get(); in writeSymbolTable()