Home
last modified time | relevance | path

Searched refs:SymbolTable (Results 1 – 25 of 43) sorted by relevance

12

/freebsd-13.1/contrib/llvm-project/lld/lib/Core/
H A DSymbolTable.cpp30 bool SymbolTable::add(const UndefinedAtom &atom) { return addByName(atom); } in add()
32 bool SymbolTable::add(const SharedLibraryAtom &atom) { return addByName(atom); } in add()
34 bool SymbolTable::add(const AbsoluteAtom &atom) { return addByName(atom); } in add()
36 bool SymbolTable::add(const DefinedAtom &atom) { in add()
114 bool SymbolTable::addByName(const Atom &newAtom) { in addByName()
215 bool SymbolTable::AtomMappingInfo::isEqual(const DefinedAtom * const l, in isEqual()
238 bool SymbolTable::addByContent(const DefinedAtom &newAtom) { in addByContent()
250 const Atom *SymbolTable::findByName(StringRef sym) { in findByName()
257 const Atom *SymbolTable::replacement(const Atom *atom) { in replacement()
268 bool SymbolTable::isCoalescedAway(const Atom *atom) { in isCoalescedAway()
[all …]
/freebsd-13.1/contrib/llvm-project/lld/ELF/
H A DSymbolTable.cpp32 SymbolTable *elf::symtab;
34 void SymbolTable::wrap(Symbol *sym, Symbol *real, Symbol *wrap) { in wrap()
60 Symbol *SymbolTable::insert(StringRef name) { in insert()
98 Symbol *SymbolTable::addSymbol(const Symbol &newSym) { in addSymbol()
104 Symbol *SymbolTable::find(StringRef name) { in find()
134 StringMap<std::vector<Symbol *>> &SymbolTable::getDemangledSyms() { in getDemangledSyms()
155 std::vector<Symbol *> SymbolTable::findByVersion(SymbolVersion ver) { in findByVersion()
164 std::vector<Symbol *> SymbolTable::findAllByVersion(SymbolVersion ver, in findAllByVersion()
192 void SymbolTable::handleDynamicList() { in handleDynamicList()
207 bool SymbolTable::assignExactVersion(SymbolVersion ver, uint16_t versionId, in assignExactVersion()
[all …]
H A DSymbolTable.h34 class SymbolTable {
94 extern SymbolTable *symtab;
/freebsd-13.1/contrib/llvm-project/lld/COFF/
H A DSymbolTable.cpp39 SymbolTable *symtab;
41 void SymbolTable::addFile(InputFile *file) { in addFile()
258 void SymbolTable::loadMinGWSymbols() { in loadMinGWSymbols()
316 Defined *SymbolTable::impSymbol(StringRef name) { in impSymbol()
432 void SymbolTable::reportUnresolvable() { in reportUnresolvable()
459 void SymbolTable::resolveRemainingUndefines() { in resolveRemainingUndefines()
727 SymbolTable::addComdat(InputFile *f, StringRef n, in addComdat()
785 void SymbolTable::addLibcall(StringRef name) { in addLibcall()
800 std::vector<Chunk *> SymbolTable::getChunks() { in getChunks()
809 Symbol *SymbolTable::find(StringRef name) { in find()
[all …]
H A DPDB.h28 class SymbolTable; variable
30 void createPDB(SymbolTable *symtab,
H A DSymbolTable.h48 class SymbolTable {
136 extern SymbolTable *symtab;
H A DSymbols.h42 class SymbolTable; variable
104 friend SymbolTable;
234 friend SymbolTable;
/freebsd-13.1/contrib/llvm-project/llvm/lib/Object/
H A DCOFFImportFile.cpp255 coff_symbol16 SymbolTable[NumberOfSymbols] = { in createImportDescriptor() local
301 SymbolTable[0].Name.Offset.Offset = in createImportDescriptor()
303 SymbolTable[5].Name.Offset.Offset = in createImportDescriptor()
305 SymbolTable[6].Name.Offset.Offset = in createImportDescriptor()
308 append(Buffer, SymbolTable); in createImportDescriptor()
362 coff_symbol16 SymbolTable[NumberOfSymbols] = { in createNullImportDescriptor() local
371 append(Buffer, SymbolTable); in createNullImportDescriptor()
444 coff_symbol16 SymbolTable[NumberOfSymbols] = { in createNullThunk() local
453 append(Buffer, SymbolTable); in createNullThunk()
559 SymbolTable[3].Name.Offset.Offset = in createWeakExternal()
[all …]
H A DArchive.cpp632 SymbolTable = BufOrErr.get(); in Archive()
658 SymbolTable = BufOrErr.get(); in Archive()
670 SymbolTable = BufOrErr.get(); in Archive()
692 SymbolTable = BufOrErr.get(); in Archive()
747 SymbolTable = BufOrErr.get(); in Archive()
1002 bool Archive::hasSymbolTable() const { return !SymbolTable.empty(); } in hasSymbolTable()
/freebsd-13.1/contrib/llvm-project/lld/MachO/
H A DSymbolTable.cpp22 Symbol *SymbolTable::find(CachedHashStringRef cachedName) { in find()
29 std::pair<Symbol *, bool> SymbolTable::insert(StringRef name, in insert()
47 Defined *SymbolTable::addDefined(StringRef name, InputFile *file, in addDefined()
101 Symbol *SymbolTable::addUndefined(StringRef name, InputFile *file, in addUndefined()
120 Symbol *SymbolTable::addCommon(StringRef name, InputFile *file, uint64_t size, in addCommon()
141 Symbol *SymbolTable::addDylib(StringRef name, DylibFile *file, bool isWeakDef, in addDylib()
172 Symbol *SymbolTable::addDynamicLookup(StringRef name) { in addDynamicLookup()
176 Symbol *SymbolTable::addLazy(StringRef name, ArchiveFile *file, in addLazy()
189 Defined *SymbolTable::addSynthetic(StringRef name, InputSection *isec, in addSynthetic()
308 SymbolTable *macho::symtab;
H A DSymbolTable.h38 class SymbolTable {
72 extern SymbolTable *symtab;
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/ELF/
H A DELFObjcopy.cpp250 if (!Obj.SymbolTable) in updateAndRemoveSymbols()
253 Obj.SymbolTable->updateSymbols([&](Symbol &Sym) { in updateAndRemoveSymbols()
444 if (Obj.SymbolTable == &Sec || in replaceAndRemoveSections()
445 (Obj.SymbolTable && Obj.SymbolTable->getStrTab() == &Sec)) in replaceAndRemoveSections()
469 Obj.SymbolTable && !Obj.SymbolTable->empty()) { in replaceAndRemoveSections()
471 if (&Sec == Obj.SymbolTable || &Sec == Obj.SymbolTable->getStrTab()) in replaceAndRemoveSections()
552 Obj.SymbolTable->addSymbol( in addSymbol()
690 if (!Obj.SymbolTable && !Config.SymbolsToAdd.empty()) in handleArgs()
H A DObject.cpp1281 Obj->SymbolTable = &SymTab; in addSymTab()
1637 if (!SymbolTable) in initRelocations()
1724 Obj.SymbolTable = &SymTab; in makeSection()
1836 if (Obj.SymbolTable) { in readSections()
1850 if (&Sec == Obj.SymbolTable) in readSections()
2126 if (SymbolTable != nullptr && ToRemove(*SymbolTable)) in removeSections()
2127 SymbolTable = nullptr; in removeSections()
2166 if (SymbolTable) in removeSymbols()
2198 SymbolTable = &SymTab; in addNewSymbolTable()
2439 !Obj.SymbolTable->empty()) in removeUnneededSections()
[all …]
/freebsd-13.1/contrib/llvm-project/llvm/lib/DebugInfo/DWARF/
H A DDWARFGdbIndex.cpp60 SymbolTableOffset, (uint64_t)SymbolTable.size()) in dumpSymbolTable()
63 for (const SymTableEntry &E : SymbolTable) { in dumpSymbolTable()
168 SymbolTable.reserve(SymTableSize); in parseImpl()
173 SymbolTable.push_back({NameOffset, CuVecOffset}); in parseImpl()
/freebsd-13.1/contrib/byacc/test/
H A Dgrammar.y216 } SymbolTable; typedef
218 extern SymbolTable *new_symbol_table /* Create symbol table */
221 (SymbolTable *s);
223 (SymbolTable *s, const char *n);
225 (SymbolTable *s, const char *n, const char *v, int f);
307 static SymbolTable *typedef_names;
310 static SymbolTable *define_names;
313 static SymbolTable *type_qualifiers;
1033 static SymbolTable *included_files; /* files already included */
/freebsd-13.1/contrib/llvm-project/llvm/tools/llvm-objcopy/MachO/
H A DObject.cpp16 const SymbolEntry *SymbolTable::getSymbolByIndex(uint32_t Index) const { in getSymbolByIndex()
21 SymbolEntry *SymbolTable::getSymbolByIndex(uint32_t Index) { in getSymbolByIndex()
23 static_cast<const SymbolTable *>(this)->getSymbolByIndex(Index)); in getSymbolByIndex()
26 void SymbolTable::removeSymbols( in removeSymbols()
H A DObject.h139 struct SymbolTable { struct
306 SymbolTable SymTable;
/freebsd-13.1/contrib/byacc/test/yacc/
H A Dgrammar.tab.c246 } SymbolTable; typedef
248 extern SymbolTable *new_symbol_table /* Create symbol table */
251 (SymbolTable *s);
253 (SymbolTable *s, const char *n);
255 (SymbolTable *s, const char *n, const char *v, int f);
337 static SymbolTable *typedef_names;
340 static SymbolTable *define_names;
343 static SymbolTable *type_qualifiers;
942 static SymbolTable *included_files; /* files already included */
/freebsd-13.1/usr.bin/clang/lld/
H A DMakefile72 SRCS+= ELF/SymbolTable.cpp
83 SRCS+= lib/Core/SymbolTable.cpp
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/Object/
H A DArchive.h247 StringRef getSymbolTable() const { return SymbolTable; } in getSymbolTable()
256 StringRef SymbolTable;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/DebugInfo/DWARF/
H A DDWARFGdbIndex.h55 SmallVector<SymTableEntry, 0> SymbolTable; variable
/freebsd-13.1/contrib/llvm-project/lld/include/lld/Core/
H A DSymbolTable.h34 class SymbolTable {
H A DResolver.h80 SymbolTable _symbolTable;
/freebsd-13.1/contrib/llvm-project/llvm/include/llvm/MC/
H A DMCContext.h74 using SymbolTable = StringMap<MCSymbol *, BumpPtrAllocator &>;
124 SymbolTable Symbols;
141 SymbolTable InlineAsmUsedLabelNames;
502 const SymbolTable &getSymbols() const { return Symbols; } in getSymbols()
/freebsd-13.1/contrib/llvm-project/llvm/lib/IR/
H A DType.cpp431 StringMap<StructType *> &SymbolTable = getContext().pImpl->NamedStructTypes; in setName() local
438 SymbolTable.remove((EntryTy *)SymbolTableEntry); in setName()
444 ((EntryTy *)SymbolTableEntry)->Destroy(SymbolTable.getAllocator()); in setName()
472 ((EntryTy *)SymbolTableEntry)->Destroy(SymbolTable.getAllocator()); in setName()

12