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

/freebsd-13-stable/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DObject.h101 struct SymbolEntry { struct in namespace:llvm::objcopy::macho
131 std::vector<std::unique_ptr<SymbolEntry>> Symbols;
134 std::vector<std::unique_ptr<SymbolEntry>>::const_iterator>;
139 const SymbolEntry *getSymbolByIndex(uint32_t Index) const;
140 SymbolEntry *getSymbolByIndex(uint32_t Index);
142 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove);
151 Optional<SymbolEntry *> Symbol;
153 IndirectSymbolEntry(uint32_t OriginalIndex, Optional<SymbolEntry *> Symbol)
169 Optional<const SymbolEntry *> Symbol;
H A DObject.cpp18 const SymbolEntry *SymbolTable::getSymbolByIndex(uint32_t Index) const {
23 SymbolEntry *SymbolTable::getSymbolByIndex(uint32_t Index) {
24 return const_cast<SymbolEntry *>(
29 function_ref<bool(const std::unique_ptr<SymbolEntry> &)> ToRemove) {
86 auto IsDead = [&](const std::unique_ptr<SymbolEntry> &S) -> bool {
91 SmallPtrSet<const SymbolEntry *, 2> DeadSymbols;
92 for (const std::unique_ptr<SymbolEntry> &Sym : SymTable.Symbols)
108 for (std::unique_ptr<SymbolEntry> &S : SymTable.Symbols)
H A DMachOReader.cpp183 SymbolEntry constructSymbolEntry(StringRef StrTable, const nlist_t &nlist) {
186 SymbolEntry SE;
198 SymbolEntry SE =
205 O.SymTable.Symbols.push_back(std::make_unique<SymbolEntry>(SE));
H A DMachOLayoutBuilder.cpp48 for (std::unique_ptr<SymbolEntry> &Sym : O.SymTable.Symbols)
65 [](const std::unique_ptr<SymbolEntry> &A,
66 const std::unique_ptr<SymbolEntry> &B) {
H A DMachOObjcopy.cpp84 for (SymbolEntry &Sym : Obj.SymTable) {
90 auto RemovePred = [Config, &Obj](const std::unique_ptr<SymbolEntry> &N) {
H A DMachOWriter.cpp269 void writeNListEntry(const SymbolEntry &SE, bool IsLittleEndian, char *&Out,
305 SymbolEntry *Sym = Iter->get();

Completed in 166 milliseconds