Home
last modified time | relevance | path

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

/external/llvm-project/lld/ELF/
DSymbols.cpp604 auto *oldSym = cast<Defined>(this); in compare() local
610 if (!oldSym->section && !newSym->section && oldSym->value == newSym->value && in compare()
673 CommonSymbol *oldSym = cast<CommonSymbol>(this); in resolveCommon() local
675 oldSym->alignment = std::max(oldSym->alignment, other.alignment); in resolveCommon()
676 if (oldSym->size < other.size) { in resolveCommon()
677 oldSym->file = other.file; in resolveCommon()
678 oldSym->size = other.size; in resolveCommon()
693 static void replaceCommon(Symbol &oldSym, const LazyT &newSym) { in replaceCommon() argument
694 backwardReferences.erase(&oldSym); in replaceCommon()
695 oldSym.replace(newSym); in replaceCommon()