Lines Matching defs:SectionID
127 /// SectionID - the section this relocation points to.
128 unsigned SectionID;
155 : Offset(offset), Addend(addend), SectionID(id), RelType(type),
160 : Offset(offset), Addend(addend), SectionID(id), RelType(type),
166 : Offset(offset), Addend(addend), SectionID(id), RelType(type),
173 SectionID(id), RelType(type), Size(Size), IsPCRel(IsPCRel),
184 SectionID(id), RelType(type), Size(Size), IsPCRel(IsPCRel),
193 unsigned SectionID = 0;
200 return SectionID == Other.SectionID && Offset == Other.Offset &&
205 if (SectionID != Other.SectionID)
206 return SectionID < Other.SectionID;
222 SymbolTableEntry(unsigned SectionID, uint64_t Offset, JITSymbolFlags Flags)
223 : Offset(Offset), SectionID(SectionID), Flags(Flags) {}
225 unsigned getSectionID() const { return SectionID; }
233 unsigned SectionID = 0;
251 // referenced in the code by means of their index in this list - SectionID.
260 // Keep a map of sections from object file to the SectionID which
276 // Relocations to sections already loaded. Indexed by SectionID which is the
278 // SectionID/Offset in the relocation itself.
377 /// \return SectionID.
386 /// \return SectionID.
392 void addRelocationForSection(const RelocationEntry &RE, unsigned SectionID);
415 processRelocationRef(unsigned SectionID, relocation_iterator RelI,
485 uint64_t getSectionLoadAddress(unsigned SectionID) const {
486 if (SectionID == AbsoluteSymbolSection)
489 return Sections[SectionID].getLoadAddress();
492 uint8_t *getSectionAddress(unsigned SectionID) const {
493 if (SectionID == AbsoluteSymbolSection)
496 return Sections[SectionID].getAddress();
499 StringRef getSectionContent(unsigned SectionID) const {
500 if (SectionID == AbsoluteSymbolSection)
504 reinterpret_cast<char *>(Sections[SectionID].getAddress()),
505 Sections[SectionID].getStubOffset() + getMaxStubSize());
552 auto SectionID = KV.second.getSectionID();
553 uint64_t SectionAddr = getSectionLoadAddress(SectionID);
574 void reassignSectionAddress(unsigned SectionID, uint64_t Addr);