Lines Matching refs:SectionID
675 Rel.SectionID = 0; in findPPC64TOCSection()
691 Rel.SectionID = *SectionIDOrErr; in findPPC64TOCSection()
775 Rel.SectionID = *SectionIDOrErr; in findOPDEntrySection()
1037 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
1039 RE.SymOffset, RE.SectionID); in resolveRelocation()
1045 uint64_t SymOffset, SID SectionID) { in resolveRelocation() argument
1085 void *RuntimeDyldELF::computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const { in computePlaceholderAddress() argument
1086 return (void *)(Sections[SectionID].getObjAddress() + Offset); in computePlaceholderAddress()
1089 void RuntimeDyldELF::processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType,… in processSimpleRelocation() argument
1090 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, Value.Offset); in processSimpleRelocation()
1094 addRelocationForSection(RE, Value.SectionID); in processSimpleRelocation()
1130 unsigned SectionID, relocation_iterator RelI, in resolveAArch64ShortBranch() argument
1145 Address = uint64_t(Sections[Value.SectionID].getLoadAddress()); in resolveAArch64ShortBranch()
1148 uint64_t SourceAddress = Sections[SectionID].getLoadAddressWithOffset(Offset); in resolveAArch64ShortBranch()
1156 resolveRelocation(Sections[SectionID], Offset, Address, RelI->getType(), in resolveAArch64ShortBranch()
1162 void RuntimeDyldELF::resolveAArch64Branch(unsigned SectionID, in resolveAArch64Branch() argument
1168 SectionEntry &Section = Sections[SectionID]; in resolveAArch64Branch()
1179 } else if (!resolveAArch64ShortBranch(SectionID, RelI, Value)) { in resolveAArch64Branch()
1186 RelocationEntry REmovz_g3(SectionID, StubTargetAddr - Section.getAddress(), in resolveAArch64Branch()
1188 RelocationEntry REmovk_g2(SectionID, in resolveAArch64Branch()
1191 RelocationEntry REmovk_g1(SectionID, in resolveAArch64Branch()
1194 RelocationEntry REmovk_g0(SectionID, in resolveAArch64Branch()
1204 addRelocationForSection(REmovz_g3, Value.SectionID); in resolveAArch64Branch()
1205 addRelocationForSection(REmovk_g2, Value.SectionID); in resolveAArch64Branch()
1206 addRelocationForSection(REmovk_g1, Value.SectionID); in resolveAArch64Branch()
1207 addRelocationForSection(REmovk_g0, Value.SectionID); in resolveAArch64Branch()
1219 unsigned SectionID, relocation_iterator RelI, const ObjectFile &O, in processRelocationRef() argument
1259 Value.SectionID = SymInfo.getSectionID(); in processRelocationRef()
1282 Value.SectionID = *SectionIDOrErr; in processRelocationRef()
1311 LLVM_DEBUG(dbgs() << "\t\tSectionID: " << SectionID << " Offset: " << Offset in processRelocationRef()
1317 resolveAArch64Branch(SectionID, Value, RelI, Stubs); in processRelocationRef()
1322 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processRelocationRef()
1327 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processRelocationRef()
1330 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1337 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1353 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1358 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1368 reinterpret_cast<uint32_t*>(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1376 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1380 computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1385 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1397 RelocationEntry RE(SectionID, Offset, RelType, i->second); in processRelocationRef()
1398 addRelocationForSection(RE, SectionID); in processRelocationRef()
1411 RelocationEntry REHi(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1413 RelocationEntry RELo(SectionID, in processRelocationRef()
1421 addRelocationForSection(REHi, Value.SectionID); in processRelocationRef()
1422 addRelocationForSection(RELo, Value.SectionID); in processRelocationRef()
1425 RelocationEntry RE(SectionID, Offset, RelType, Section.getStubOffset()); in processRelocationRef()
1426 addRelocationForSection(RE, SectionID); in processRelocationRef()
1431 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
1440 SectionID == Reloc.SectionID) { in processRelocationRef()
1445 addRelocationForSection(Reloc, Value.SectionID); in processRelocationRef()
1450 RelocationEntry RE(SectionID, Offset, RelType, Addend); in processRelocationRef()
1454 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1466 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1470 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1483 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1487 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1492 RelocationEntry RE(SectionID, Offset, RelType, i->second); in processRelocationRef()
1493 addRelocationForSection(RE, SectionID); in processRelocationRef()
1507 RelocationEntry REHi(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1509 RelocationEntry RELo(SectionID, in processRelocationRef()
1516 addRelocationForSection(REHi, Value.SectionID); in processRelocationRef()
1517 addRelocationForSection(RELo, Value.SectionID); in processRelocationRef()
1522 RelocationEntry REHighest(SectionID, in processRelocationRef()
1525 RelocationEntry REHigher(SectionID, in processRelocationRef()
1528 RelocationEntry REHi(SectionID, in processRelocationRef()
1531 RelocationEntry RELo(SectionID, in processRelocationRef()
1540 addRelocationForSection(REHighest, Value.SectionID); in processRelocationRef()
1541 addRelocationForSection(REHigher, Value.SectionID); in processRelocationRef()
1542 addRelocationForSection(REHi, Value.SectionID); in processRelocationRef()
1543 addRelocationForSection(RELo, Value.SectionID); in processRelocationRef()
1546 RelocationEntry RE(SectionID, Offset, RelType, Section.getStubOffset()); in processRelocationRef()
1547 addRelocationForSection(RE, SectionID); in processRelocationRef()
1551 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1563 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1577 if (Value.SectionID == SectionID){ in processRelocationRef()
1583 Sections[Value.SectionID].getAddressWithOffset(Value.Addend); in processRelocationRef()
1589 (AbiVariant == 2 && Value.SectionID == SectionID)) { in processRelocationRef()
1590 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1591 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1594 if (IsExtern || (AbiVariant == 2 && Value.SectionID != SectionID) || in processRelocationRef()
1613 RelocationEntry RE(SectionID, StubTargetAddr - Section.getAddress(), in processRelocationRef()
1624 RelocationEntry REhst(SectionID, StubRelocOffset + 0, in processRelocationRef()
1626 RelocationEntry REhr(SectionID, StubRelocOffset + 4, in processRelocationRef()
1628 RelocationEntry REh(SectionID, StubRelocOffset + 12, in processRelocationRef()
1630 RelocationEntry REl(SectionID, StubRelocOffset + 16, in processRelocationRef()
1639 addRelocationForSection(REhst, Value.SectionID); in processRelocationRef()
1640 addRelocationForSection(REhr, Value.SectionID); in processRelocationRef()
1641 addRelocationForSection(REh, Value.SectionID); in processRelocationRef()
1642 addRelocationForSection(REl, Value.SectionID); in processRelocationRef()
1651 if (IsExtern || (AbiVariant == 2 && Value.SectionID != SectionID)) { in processRelocationRef()
1688 if (Value.SymbolName || Value.SectionID != TOCValue.SectionID) in processRelocationRef()
1691 resolveRelocation(Sections[SectionID], Offset, Value.Addend, RelType, 0); in processRelocationRef()
1707 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend); in processRelocationRef()
1712 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1726 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1745 RelocationEntry RE(SectionID, StubOffset + 8, ELF::R_390_64, in processRelocationRef()
1750 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1780 SectionEntry *Section = &Sections[SectionID]; in processRelocationRef()
1804 Section = &Sections[SectionID]; in processRelocationRef()
1807 resolveGOTOffsetRelocation(SectionID, StubOffset + 2, GOTOffset - 4, in processRelocationRef()
1821 computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1822 processSimpleRelocation(SectionID, Offset, ELF::R_X86_64_PC32, Value); in processRelocationRef()
1828 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processRelocationRef()
1837 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1841 resolveRelocation(Sections[SectionID], Offset, GOTOffset, in processRelocationRef()
1850 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
1856 resolveGOTOffsetRelocation(SectionID, Offset, Addend, ELF::R_X86_64_PC32); in processRelocationRef()
1859 resolveGOTOffsetRelocation(SectionID, Offset, Addend, ELF::R_X86_64_PC64); in processRelocationRef()
1863 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1865 Value.Addend += support::ulittle32_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1866 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1868 Value.Addend += support::ulittle64_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1869 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1871 processX86_64GOTTPOFFRelocation(SectionID, Offset, Value, Addend); in processRelocationRef()
1877 processX86_64TLSRelocation(SectionID, Offset, RelType, Value, Addend, in processRelocationRef()
1880 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1884 Value.Addend += support::ulittle32_t::ref(computePlaceholderAddress(SectionID, Offset)); in processRelocationRef()
1886 processSimpleRelocation(SectionID, Offset, RelType, Value); in processRelocationRef()
1891 void RuntimeDyldELF::processX86_64GOTTPOFFRelocation(unsigned SectionID, in processX86_64GOTTPOFFRelocation() argument
1955 auto &Section = Sections[SectionID]; in processX86_64GOTTPOFFRelocation()
1981 RelocationEntry RE(SectionID, in processX86_64GOTTPOFFRelocation()
1988 addRelocationForSection(RE, Value.SectionID); in processX86_64GOTTPOFFRelocation()
1999 resolveGOTOffsetRelocation(SectionID, Offset, GOTOffset + Addend, in processX86_64GOTTPOFFRelocation()
2006 addRelocationForSection(RE, Value.SectionID); in processX86_64GOTTPOFFRelocation()
2011 unsigned SectionID, uint64_t Offset, uint64_t RelType, in processX86_64TLSRelocation() argument
2123 RelocationEntry RE(SectionID, Offset - TLSSequenceOffset + TpoffRelocOffset, in processX86_64TLSRelocation()
2128 addRelocationForSection(RE, Value.SectionID); in processX86_64TLSRelocation()
2198 auto &Section = Sections[SectionID]; in processX86_64TLSRelocation()
2274 addRelocationForSection(RE, Value.SectionID); in findOrAllocGOTEntry()
2282 void RuntimeDyldELF::resolveGOTOffsetRelocation(unsigned SectionID, in resolveGOTOffsetRelocation() argument
2287 RelocationEntry GOTRE(SectionID, Offset, Type, GOTOffset); in resolveGOTOffsetRelocation()