Searched refs:newSym (Results 1 – 8 of 8) sorted by relevance
/external/llvm-project/lld/ELF/ |
D | Symbols.h | 143 inline void replace(const Symbol &newSym); 529 void Symbol::replace(const Symbol &newSym) { in replace() argument 539 if (symbolKind != PlaceholderKind && !newSym.isLazy() && in replace() 540 (type == STT_TLS) != (newSym.type == STT_TLS) && in replace() 543 toString(newSym.file) + "\n>>> defined in " + toString(file)); in replace() 546 memcpy(this, &newSym, newSym.getSymbolSize()); in replace()
|
D | Symbols.cpp | 605 auto *newSym = cast<Defined>(other); in compare() local 610 if (!oldSym->section && !newSym->section && oldSym->value == newSym->value && in compare() 611 newSym->binding == STB_GLOBAL) in compare() 693 static void replaceCommon(Symbol &oldSym, const LazyT &newSym) { in replaceCommon() argument 695 oldSym.replace(newSym); in replaceCommon() 696 newSym.fetch(); in replaceCommon()
|
D | SymbolTable.cpp | 98 Symbol *SymbolTable::addSymbol(const Symbol &newSym) { in addSymbol() argument 99 Symbol *sym = insert(newSym.getName()); in addSymbol() 100 sym->resolve(newSym); in addSymbol()
|
D | SymbolTable.h | 50 Symbol *addSymbol(const Symbol &newSym);
|
D | LinkerScript.cpp | 184 Defined newSym(nullptr, cmd->name, STB_GLOBAL, visibility, value.type, in addSymbol() local 188 sym->mergeProperties(newSym); in addSymbol() 189 sym->replace(newSym); in addSymbol() 200 Defined newSym(nullptr, cmd->name, STB_GLOBAL, visibility, STT_NOTYPE, 0, 0, in declareSymbol() local 205 sym->mergeProperties(newSym); in declareSymbol() 206 sym->replace(newSym); in declareSymbol()
|
D | InputFiles.cpp | 1709 Undefined newSym(&f, name, binding, visibility, type); in createBitcodeSymbol() local 1711 newSym.exportDynamic = false; in createBitcodeSymbol() 1712 Symbol *ret = symtab->addSymbol(newSym); in createBitcodeSymbol() 1722 Defined newSym(&f, name, binding, visibility, type, 0, 0, nullptr); in createBitcodeSymbol() local 1724 newSym.exportDynamic = false; in createBitcodeSymbol() 1725 return symtab->addSymbol(newSym); in createBitcodeSymbol()
|
/external/llvm-project/lld/wasm/ |
D | SymbolTable.cpp | 298 auto* newSym = replaceSymbol<DefinedFunction>(sym, name, flags, file, function); in addDefinedFunction() local 299 if (!newSym->signature) in addDefinedFunction() 300 newSym->signature = oldSig; in addDefinedFunction() 582 auto newSym = replaceSymbol<LazySymbol>(s, name, WASM_SYMBOL_BINDING_WEAK, in addLazy() local 584 newSym->signature = oldSig; in addLazy()
|
/external/llvm-project/lld/COFF/ |
D | PDB.cpp | 1334 CVSymbol newSym = codeview::SymbolSerializer::writeOneSymbol( in addImportFilesToPDB() local 1336 scopeStackOpen(scopes, mod->getNextSymbolOffset(), newSym); in addImportFilesToPDB() 1338 mod->addSymbol(newSym); in addImportFilesToPDB() 1340 newSym = codeview::SymbolSerializer::writeOneSymbol(es, bAlloc, in addImportFilesToPDB() 1344 mod->addSymbol(newSym); in addImportFilesToPDB()
|