Home
last modified time | relevance | path

Searched refs:replaceSymbol (Results 1 – 11 of 11) sorted by relevance

/external/llvm-project/lld/MachO/
DSymbolTable.cpp59 Defined *defined = replaceSymbol<Defined>(s, name, isec, value, isWeakDef, in addDefined()
71 replaceSymbol<Undefined>(s, name); in addUndefined()
94 replaceSymbol<CommonSymbol>(s, name, file, size, align); in addCommon()
111 replaceSymbol<DylibSymbol>(s, file, name, isWeakDef, isTlv); in addDylib()
123 replaceSymbol<LazySymbol>(s, file, sym); in addLazy()
140 replaceSymbol<DSOHandle>(s, header); in addDSOHandle()
DSymbols.h225 T *replaceSymbol(Symbol *s, ArgT &&... arg) { in replaceSymbol() function
DDriver.cpp551 replaceSymbol<Defined>(sym, sym->getName(), isec, /*value=*/0, in replaceCommonSymbols()
/external/llvm-project/lld/wasm/
DSymbolTable.cpp205 return replaceSymbol<DefinedFunction>(insertName(name).first, name, in addSyntheticFunction()
221 auto *rtn = replaceSymbol<DefinedData>(s, name, WASM_SYMBOL_VISIBILITY_HIDDEN); in addOptionalDataSymbol()
231 return replaceSymbol<DefinedData>(insertName(name).first, name, flags); in addSyntheticDataSymbol()
240 return replaceSymbol<DefinedGlobal>(insertName(name).first, name, flags, in addSyntheticGlobal()
253 return replaceSymbol<DefinedGlobal>(s, name, flags, nullptr, global); in addOptionalGlobalSymbols()
298 auto* newSym = replaceSymbol<DefinedFunction>(sym, name, flags, file, function); in addDefinedFunction()
350 replaceSymbol<DefinedData>(s, name, flags, file, segment, address, size); in addDefinedData()
374 replaceSymbol<DefinedGlobal>(s, name, flags, file, global); in addDefinedGlobal()
398 replaceSymbol<DefinedEvent>(s, name, flags, file, event); in addDefinedEvent()
469 replaceSymbol<UndefinedFunction>(s, name, importName, importModule, flags, in addUndefinedFunction()
[all …]
DLTO.cpp80 replaceSymbol<UndefinedFunction>(f, f->getName(), None, None, 0, in undefine()
83 replaceSymbol<UndefinedData>(s, s->getName(), 0, s->getFile()); in undefine()
DSymbols.h534 T *replaceSymbol(Symbol *s, ArgT &&... arg) { in replaceSymbol() function
/external/llvm-project/lld/COFF/
DSymbolTable.cpp451 replaceSymbol<DefinedLocalImport>(sym, name, d); in resolveRemainingUndefines()
469 replaceSymbol<DefinedAbsolute>(sym, name, 0); in resolveRemainingUndefines()
504 replaceSymbol<Undefined>(s, name); in addUndefined()
518 replaceSymbol<LazyArchive>(s, f, sym); in addLazyArchive()
533 replaceSymbol<LazyObject>(s, f, n); in addLazyObject()
616 replaceSymbol<DefinedAbsolute>(s, n, sym); in addAbsolute()
631 replaceSymbol<DefinedAbsolute>(s, n, va); in addAbsolute()
646 replaceSymbol<DefinedSynthetic>(s, n, c); in addSynthetic()
659 replaceSymbol<DefinedRegular>(s, f, n, /*IsCOMDAT*/ false, in addRegular()
673 replaceSymbol<DefinedRegular>(s, f, n, /*IsCOMDAT*/ true, in addComdat()
[all …]
DLTO.cpp118 static void undefine(Symbol *s) { replaceSymbol<Undefined>(s, s->getName()); } in undefine()
DWriter.cpp1765 replaceSymbol<DefinedSynthetic>(t, t->getName(), tableChunk); in maybeAddRVATable()
1801 replaceSymbol<DefinedSynthetic>(headSym, headSym->getName(), table); in createRuntimePseudoRelocs()
1802 replaceSymbol<DefinedSynthetic>(endSym, endSym->getName(), endOfList); in createRuntimePseudoRelocs()
1822 replaceSymbol<DefinedSynthetic>(ctorListSym, ctorListSym->getName(), in insertCtorDtorSymbols()
1824 replaceSymbol<DefinedSynthetic>(dtorListSym, dtorListSym->getName(), in insertCtorDtorSymbols()
DSymbols.h473 void replaceSymbol(Symbol *s, ArgT &&... arg) { in replaceSymbol() function
DInputFiles.cpp599 replaceSymbol<DefinedRegular>(leader, this, name, /*IsCOMDAT*/ true, in handleComdatSelection()