Home
last modified time | relevance | path

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

/freebsd/contrib/llvm-project/lld/ELF/
H A DSymbolTable.h47 template <typename T> Symbol *addSymbol(const T &newSym) { in addSymbol() argument
48 Symbol *sym = insert(newSym.getName()); in addSymbol()
49 sym->resolve(newSym); in addSymbol()
52 Symbol *addAndCheckDuplicate(const Defined &newSym);
H A DSymbolTable.cpp103 Symbol *SymbolTable::addAndCheckDuplicate(const Defined &newSym) { in addAndCheckDuplicate() argument
104 Symbol *sym = insert(newSym.getName()); in addAndCheckDuplicate()
106 sym->checkDuplicate(newSym); in addAndCheckDuplicate()
107 sym->resolve(newSym); in addAndCheckDuplicate()
H A DLinkerScript.cpp229 Defined newSym(createInternalFile(cmd->location), cmd->name, STB_GLOBAL, in addSymbol() local
233 sym->mergeProperties(newSym); in addSymbol()
234 newSym.overwrite(*sym); in addSymbol()
246 Defined newSym(ctx.internalFile, cmd->name, STB_GLOBAL, visibility, in declareSymbol() local
256 sym->mergeProperties(newSym); in declareSymbol()
257 newSym.overwrite(*sym); in declareSymbol()
H A DInputFiles.cpp1755 Undefined newSym(&f, StringRef(), binding, visibility, type); in createBitcodeSymbol() local
1756 sym->resolve(newSym); in createBitcodeSymbol()
1766 Defined newSym(&f, StringRef(), binding, visibility, type, 0, 0, nullptr); in createBitcodeSymbol() local
1768 newSym.exportDynamic = false; in createBitcodeSymbol()
1769 sym->resolve(newSym); in createBitcodeSymbol()
/freebsd/contrib/llvm-project/lld/COFF/
H A DPDB.cpp1584 CVSymbol newSym = codeview::SymbolSerializer::writeOneSymbol( in addImportFilesToPDB() local
1589 getSymbolScopeFields(const_cast<uint8_t *>(newSym.data().data())); in addImportFilesToPDB()
1591 mod->addSymbol(newSym); in addImportFilesToPDB()
1593 newSym = codeview::SymbolSerializer::writeOneSymbol(es, bAlloc, in addImportFilesToPDB()
1597 mod->addSymbol(newSym); in addImportFilesToPDB()
/freebsd/contrib/llvm-project/lld/MachO/
H A DSyntheticSections.cpp911 Defined *newSym = replaceSymbol<Defined>( in addEntry() local
918 symbols.push_back(newSym); in addEntry()