Searched refs:relocAttrs (Results 1 – 8 of 8) sorted by relevance
91 assert(type < relocAttrs.size() && "invalid relocation type"); in getRelocAttrs()92 if (type >= relocAttrs.size()) in getRelocAttrs()94 return relocAttrs[type]; in getRelocAttrs()137 llvm::ArrayRef<RelocAttrs> relocAttrs; variable
36 const RelocAttrs &relocAttrs = target->getRelocAttrs(r.type); in validateSymbolRelocation() local40 return (isec->getLocation(r.offset) + ": " + relocAttrs.name + in validateSymbolRelocation()45 if (relocAttrs.hasAttr(RelocAttrBits::TLV) != sym->isTlv()) in validateSymbolRelocation()
96 const RelocAttrs &relocAttrs = target->getRelocAttrs(type); in resolveSymbolVA() local97 if (relocAttrs.hasAttr(RelocAttrBits::BRANCH)) in resolveSymbolVA()99 if (relocAttrs.hasAttr(RelocAttrBits::GOT)) in resolveSymbolVA()101 if (relocAttrs.hasAttr(RelocAttrBits::TLV)) in resolveSymbolVA()
653 const RelocAttrs &relocAttrs = target->getRelocAttrs(r.type); in prepareSymbolRelocation() local655 if (relocAttrs.hasAttr(RelocAttrBits::BRANCH)) { in prepareSymbolRelocation()658 } else if (relocAttrs.hasAttr(RelocAttrBits::GOT)) { in prepareSymbolRelocation()659 if (relocAttrs.hasAttr(RelocAttrBits::POINTER) || needsBinding(sym)) in prepareSymbolRelocation()661 } else if (relocAttrs.hasAttr(RelocAttrBits::TLV)) { in prepareSymbolRelocation()664 } else if (relocAttrs.hasAttr(RelocAttrBits::UNSIGNED)) { in prepareSymbolRelocation()
503 const RelocAttrs &relocAttrs = target->getRelocAttrs(rel.r_type); in validateRelocationInfo() local505 auto message = [relocAttrs, file, sec, rel, &valid](const Twine &diagnostic) { in validateRelocationInfo()507 return (relocAttrs.name + " relocation " + diagnostic + " at offset " + in validateRelocationInfo()513 if (!relocAttrs.hasAttr(RelocAttrBits::LOCAL) && !rel.r_extern) in validateRelocationInfo()515 if (relocAttrs.hasAttr(RelocAttrBits::PCREL) != rel.r_pcrel) in validateRelocationInfo()519 !relocAttrs.hasAttr(RelocAttrBits::UNSIGNED)) in validateRelocationInfo()522 !relocAttrs.hasAttr(static_cast<RelocAttrBits>(1 << rel.r_length))) { in validateRelocationInfo()526 widths[(static_cast<int>(relocAttrs.bits) >> 2) & 3] + in validateRelocationInfo()
120 relocAttrs = {relocAttrsArray.data(), relocAttrsArray.size()}; in ARM64_32()
220 relocAttrs = {relocAttrsArray.data(), relocAttrsArray.size()}; in X86_64()
204 relocAttrs = {relocAttrsArray.data(), relocAttrsArray.size()}; in ARM64()