Lines Matching refs:reloc
563 const Reloc *reloc = isec->getRelocAt(offset); in tryGetSymbolAtIsecOffset() local
565 if (!reloc) in tryGetSymbolAtIsecOffset()
568 Symbol *sym = reloc->referent.get<Symbol *>(); in tryGetSymbolAtIsecOffset()
570 if (reloc->addend) { in tryGetSymbolAtIsecOffset()
574 definedSym->value + reloc->addend); in tryGetSymbolAtIsecOffset()
623 const Reloc *reloc = isec->getRelocAt(offset); in tryEraseDefinedAtIsecOffset() local
625 if (!reloc) in tryEraseDefinedAtIsecOffset()
628 Defined *sym = dyn_cast_or_null<Defined>(reloc->referent.get<Symbol *>()); in tryEraseDefinedAtIsecOffset()
635 uint32_t totalOffset = sym->value + reloc->addend; in tryEraseDefinedAtIsecOffset()
687 const Reloc *reloc = isec->getRelocAt(secOffset); in parseProtocolListInfo() local
688 if (!reloc) in parseProtocolListInfo()
691 auto *ptrListSym = dyn_cast_or_null<Defined>(reloc->referent.get<Symbol *>()); in parseProtocolListInfo()
720 const Reloc *reloc = ptrListSym->isec()->getRelocAt(off); in parseProtocolListInfo() local
721 assert(reloc && "No reloc found at protocol list offset"); in parseProtocolListInfo()
723 auto *listSym = dyn_cast_or_null<Defined>(reloc->referent.get<Symbol *>()); in parseProtocolListInfo()
756 const Reloc *reloc = isec->getRelocAt(secOffset); in parsePointerListInfo() local
757 if (!reloc) in parsePointerListInfo()
760 auto *ptrListSym = dyn_cast_or_null<Defined>(reloc->referent.get<Symbol *>()); in parsePointerListInfo()
781 const Reloc *reloc = ptrListSym->isec()->getRelocAt(off); in parsePointerListInfo() local
782 assert(reloc && "No reloc found at pointer list offset"); in parsePointerListInfo()
784 auto *listSym = dyn_cast_or_null<Defined>(reloc->referent.get<Symbol *>()); in parsePointerListInfo()