Lines Matching defs:SectionID
126 /// SectionID - the section this relocation points to.
127 unsigned SectionID;
154 : Offset(offset), Addend(addend), SectionID(id), RelType(type),
159 : Offset(offset), Addend(addend), SectionID(id), RelType(type),
165 : Offset(offset), Addend(addend), SectionID(id), RelType(type),
172 SectionID(id), RelType(type), Size(Size), IsPCRel(IsPCRel),
183 SectionID(id), RelType(type), Size(Size), IsPCRel(IsPCRel),
192 unsigned SectionID = 0;
199 return SectionID == Other.SectionID && Offset == Other.Offset &&
204 if (SectionID != Other.SectionID)
205 return SectionID < Other.SectionID;
221 SymbolTableEntry(unsigned SectionID, uint64_t Offset, JITSymbolFlags Flags)
222 : Offset(Offset), SectionID(SectionID), Flags(Flags) {}
224 unsigned getSectionID() const { return SectionID; }
232 unsigned SectionID = 0;
250 // referenced in the code by means of their index in this list - SectionID.
259 // Keep a map of sections from object file to the SectionID which
275 // Relocations to sections already loaded. Indexed by SectionID which is the
277 // SectionID/Offset in the relocation itself.
376 /// \return SectionID.
385 /// \return SectionID.
391 void addRelocationForSection(const RelocationEntry &RE, unsigned SectionID);
414 processRelocationRef(unsigned SectionID, relocation_iterator RelI,
474 uint64_t getSectionLoadAddress(unsigned SectionID) const {
475 if (SectionID == AbsoluteSymbolSection)
478 return Sections[SectionID].getLoadAddress();
481 uint8_t *getSectionAddress(unsigned SectionID) const {
482 if (SectionID == AbsoluteSymbolSection)
485 return Sections[SectionID].getAddress();
488 StringRef getSectionContent(unsigned SectionID) const {
489 if (SectionID == AbsoluteSymbolSection)
493 reinterpret_cast<char *>(Sections[SectionID].getAddress()),
494 Sections[SectionID].getStubOffset() + getMaxStubSize());
541 auto SectionID = KV.second.getSectionID();
542 uint64_t SectionAddr = getSectionLoadAddress(SectionID);
563 void reassignSectionAddress(unsigned SectionID, uint64_t Addr);