Lines Matching refs:SectionID

670   Rel.SectionID = 0;  in findPPC64TOCSection()
686 Rel.SectionID = *SectionIDOrErr; in findPPC64TOCSection()
770 Rel.SectionID = *SectionIDOrErr; in findOPDEntrySection()
1032 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
1034 RE.SymOffset, RE.SectionID); in resolveRelocation()
1040 uint64_t SymOffset, SID SectionID) { in resolveRelocation() argument
1080 void *RuntimeDyldELF::computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const { in computePlaceholderAddress() argument
1081 return (void *)(Sections[SectionID].getObjAddress() + Offset); in computePlaceholderAddress()
1084 void RuntimeDyldELF::processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType,… in processSimpleRelocation() argument
1085 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, Value.Offset); in processSimpleRelocation()
1089 addRelocationForSection(RE, Value.SectionID); in processSimpleRelocation()
1125 unsigned SectionID, relocation_iterator RelI, in resolveAArch64ShortBranch() argument
1140 Address = uint64_t(Sections[Value.SectionID].getLoadAddress()); in resolveAArch64ShortBranch()
1143 uint64_t SourceAddress = Sections[SectionID].getLoadAddressWithOffset(Offset); in resolveAArch64ShortBranch()
1151 resolveRelocation(Sections[SectionID], Offset, Address, RelI->getType(), in resolveAArch64ShortBranch()
1157 void RuntimeDyldELF::resolveAArch64Branch(unsigned SectionID, in resolveAArch64Branch() argument
1163 SectionEntry &Section = Sections[SectionID]; in resolveAArch64Branch()
1174 } else if (!resolveAArch64ShortBranch(SectionID, RelI, Value)) { in resolveAArch64Branch()
1181 RelocationEntry REmovz_g3(SectionID, StubTargetAddr - Section.getAddress(), in resolveAArch64Branch()
1183 RelocationEntry REmovk_g2(SectionID, in resolveAArch64Branch()
1186 RelocationEntry REmovk_g1(SectionID, in resolveAArch64Branch()
1189 RelocationEntry REmovk_g0(SectionID, in resolveAArch64Branch()
1199 addRelocationForSection(REmovz_g3, Value.SectionID); in resolveAArch64Branch()
1200 addRelocationForSection(REmovk_g2, Value.SectionID); in resolveAArch64Branch()
1201 addRelocationForSection(REmovk_g1, Value.SectionID); in resolveAArch64Branch()
1202 addRelocationForSection(REmovk_g0, Value.SectionID); in resolveAArch64Branch()
1214 unsigned SectionID, relocation_iterator RelI, const ObjectFile &O, in processRelocationRef() argument
1254 Value.SectionID = SymInfo.getSectionID(); in processRelocationRef()
1277 Value.SectionID = *SectionIDOrErr; in processRelocationRef()
1305 LLVM_DEBUG(dbgs() << "\t\tSectionID: " << SectionID << " Offset: " << Offset in processRelocationRef()
1311 resolveAArch64Branch(SectionID, Value, RelI, Stubs); in processRelocationRef()
1316 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processRelocationRef()
1321 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processRelocationRef()
1324 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1331 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1347 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1352 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1362 reinterpret_cast<uint32_t*>(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1370 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1374 computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1379 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1391 RelocationEntry RE(SectionID, Offset, RelType, i->second); in processRelocationRef()
1392 addRelocationForSection(RE, SectionID); in processRelocationRef()
1405 RelocationEntry REHi(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1407 RelocationEntry RELo(SectionID, in processRelocationRef()
1415 addRelocationForSection(REHi, Value.SectionID); in processRelocationRef()
1416 addRelocationForSection(RELo, Value.SectionID); in processRelocationRef()
1419 RelocationEntry RE(SectionID, Offset, RelType, Section.getStubOffset()); in processRelocationRef()
1420 addRelocationForSection(RE, SectionID); in processRelocationRef()
1425 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
1434 SectionID == Reloc.SectionID) { in processRelocationRef()
1439 addRelocationForSection(Reloc, Value.SectionID); in processRelocationRef()
1444 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
1448 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1460 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1464 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1477 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1481 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1486 RelocationEntry RE(SectionID, Offset, RelType, i->second); in processRelocationRef()
1487 addRelocationForSection(RE, SectionID); in processRelocationRef()
1501 RelocationEntry REHi(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1503 RelocationEntry RELo(SectionID, in processRelocationRef()
1510 addRelocationForSection(REHi, Value.SectionID); in processRelocationRef()
1511 addRelocationForSection(RELo, Value.SectionID); in processRelocationRef()
1516 RelocationEntry REHighest(SectionID, in processRelocationRef()
1519 RelocationEntry REHigher(SectionID, in processRelocationRef()
1522 RelocationEntry REHi(SectionID, in processRelocationRef()
1525 RelocationEntry RELo(SectionID, in processRelocationRef()
1534 addRelocationForSection(REHighest, Value.SectionID); in processRelocationRef()
1535 addRelocationForSection(REHigher, Value.SectionID); in processRelocationRef()
1536 addRelocationForSection(REHi, Value.SectionID); in processRelocationRef()
1537 addRelocationForSection(RELo, Value.SectionID); in processRelocationRef()
1540 RelocationEntry RE(SectionID, Offset, RelType, Section.getStubOffset()); in processRelocationRef()
1541 addRelocationForSection(RE, SectionID); in processRelocationRef()
1545 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1557 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1571 if (Value.SectionID == SectionID){ in processRelocationRef()
1577 Sections[Value.SectionID].getAddressWithOffset(Value.Addend); in processRelocationRef()
1583 (AbiVariant == 2 && Value.SectionID == SectionID)) { in processRelocationRef()
1584 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1585 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1588 if (IsExtern || (AbiVariant == 2 && Value.SectionID != SectionID) || in processRelocationRef()
1607 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1618 RelocationEntry REhst(SectionID, StubRelocOffset + 0, in processRelocationRef()
1620 RelocationEntry REhr(SectionID, StubRelocOffset + 4, in processRelocationRef()
1622 RelocationEntry REh(SectionID, StubRelocOffset + 12, in processRelocationRef()
1624 RelocationEntry REl(SectionID, StubRelocOffset + 16, in processRelocationRef()
1633 addRelocationForSection(REhst, Value.SectionID); in processRelocationRef()
1634 addRelocationForSection(REhr, Value.SectionID); in processRelocationRef()
1635 addRelocationForSection(REh, Value.SectionID); in processRelocationRef()
1636 addRelocationForSection(REl, Value.SectionID); in processRelocationRef()
1645 if (IsExtern || (AbiVariant == 2 && Value.SectionID != SectionID)) { in processRelocationRef()
1682 if (Value.SymbolName || Value.SectionID != TOCValue.SectionID) in processRelocationRef()
1685 resolveRelocation(Sections[SectionID], Offset, Value.Addend, RelType, 0); in processRelocationRef()
1701 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1706 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1720 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1741 RelocationEntry RE(SectionID, StubOffset + 8, ELF::R_390_64, in processRelocationRef()
1746 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1776 SectionEntry *Section = &Sections[SectionID]; in processRelocationRef()
1802 Section = &Sections[SectionID]; in processRelocationRef()
1805 resolveGOTOffsetRelocation(SectionID, StubOffset + 2, GOTOffset - 4, in processRelocationRef()
1819 computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1820 processSimpleRelocation(SectionID, Offset, ELF::R_X86_64_PC32, Value); in processRelocationRef()
1826 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processRelocationRef()
1835 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1839 resolveRelocation(Sections[SectionID], Offset, GOTOffset, in processRelocationRef()
1848 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1854 resolveGOTOffsetRelocation(SectionID, Offset, Addend, ELF::R_X86_64_PC32); in processRelocationRef()
1857 resolveGOTOffsetRelocation(SectionID, Offset, Addend, ELF::R_X86_64_PC64); in processRelocationRef()
1861 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1863 Value.Addend += support::ulittle32_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1864 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1866 Value.Addend += support::ulittle64_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1867 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1869 processX86_64GOTTPOFFRelocation(SectionID, Offset, Value, Addend); in processRelocationRef()
1875 processX86_64TLSRelocation(SectionID, Offset, RelType, Value, Addend, in processRelocationRef()
1878 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1882 Value.Addend += support::ulittle32_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1884 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1889 void RuntimeDyldELF::processX86_64GOTTPOFFRelocation(unsigned SectionID, in processX86_64GOTTPOFFRelocation() argument
1953 auto &Section = Sections[SectionID]; in processX86_64GOTTPOFFRelocation()
1979 RelocationEntry RE(SectionID, in processX86_64GOTTPOFFRelocation()
1986 addRelocationForSection(RE, Value.SectionID); in processX86_64GOTTPOFFRelocation()
1997 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processX86_64GOTTPOFFRelocation()
2004 addRelocationForSection(RE, Value.SectionID); in processX86_64GOTTPOFFRelocation()
2009 unsigned SectionID, uint64_t Offset, uint64_t RelType, in processX86_64TLSRelocation() argument
2121 RelocationEntry RE(SectionID, Offset - TLSSequenceOffset + TpoffRelocOffset, in processX86_64TLSRelocation()
2126 addRelocationForSection(RE, Value.SectionID); in processX86_64TLSRelocation()
2196 auto &Section = Sections[SectionID]; in processX86_64TLSRelocation()
2272 addRelocationForSection(RE, Value.SectionID); in findOrAllocGOTEntry()
2280 void RuntimeDyldELF::resolveGOTOffsetRelocation(unsigned SectionID, in resolveGOTOffsetRelocation() argument
2285 RelocationEntry GOTRE(SectionID, Offset, Type, GOTOffset); in resolveGOTOffsetRelocation()