|
reference, declaration → definition
definition → references, declarations, derived classes, virtual overrides
reference to multiple definitions → definitions
unreferenced
|
References
lib/ExecutionEngine/RuntimeDyld/RuntimeDyld.cpp 127 LLVM_DEBUG(for (int i = 0, e = Sections.size(); i != e; ++i)
128 dumpSectionMemory(Sections[i], "before relocations"););
139 LLVM_DEBUG(for (int i = 0, e = Sections.size(); i != e; ++i)
140 dumpSectionMemory(Sections[i], "after relocations"););
150 uint64_t Addr = Sections[Idx].getLoadAddress();
161 for (unsigned i = 0, e = Sections.size(); i != e; ++i) {
162 if (Sections[i].getAddress() == LocalAddress) {
386 StringRef SectionName = Sections[SectionID].getName();
725 unsigned SectionID = Sections.size();
731 Sections.push_back(
806 unsigned SectionID = Sections.size();
879 Sections.push_back(
884 Sections.back().setLoadAddress(0);
1053 << Sections[SectionID].getName() << "): "
1054 << format("0x%016" PRIx64, Sections[SectionID].getLoadAddress())
1056 Sections[SectionID].setLoadAddress(Addr);
1064 if (Sections[RE.SectionID].getAddress() == nullptr)
1247 return RTDyld.Sections[I->second].getLoadAddress();
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp 231 uint8_t *EHFrameAddr = Sections[EHFrameSID].getAddress();
232 uint64_t EHFrameLoadAddr = Sections[EHFrameSID].getLoadAddress();
233 size_t EHFrameSize = Sections[EHFrameSID].getSize();
325 for (const auto &Section : Sections) {
929 const SectionEntry &Section = Sections[RE.SectionID];
977 return (void *)(Sections[SectionID].getObjAddress() + Offset);
1033 uint64_t(Sections[SymInfo.getSectionID()].getLoadAddressWithOffset(
1036 Address = uint64_t(Sections[Value.SectionID].getLoadAddress());
1039 uint64_t SourceAddress = Sections[SectionID].getLoadAddressWithOffset(Offset);
1047 resolveRelocation(Sections[SectionID], Offset, Address, RelI->getType(),
1059 SectionEntry &Section = Sections[SectionID];
1227 SectionEntry &Section = Sections[SectionID];
1275 SectionEntry &Section = Sections[SectionID];
1377 SectionEntry &Section = Sections[SectionID];
1453 SectionEntry &Section = Sections[SectionID];
1473 Sections[Value.SectionID].getAddressWithOffset(Value.Addend);
1581 resolveRelocation(Sections[SectionID], Offset, Value.Addend, RelType, 0);
1616 SectionEntry &Section = Sections[SectionID];
1672 SectionEntry &Section = Sections[SectionID];
1732 resolveRelocation(Sections[SectionID], Offset, GOTOffset,
1807 GOTSectionID = Sections.size();
1810 Sections.push_back(SectionEntry(".got", nullptr, 0, 0, 0));
1867 Sections[GOTSectionID] =
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.h 101 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; }
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldImpl.h 480 return Sections[SectionID].getLoadAddress();
484 return Sections[SectionID].getAddress();
488 return StringRef(reinterpret_cast<char *>(Sections[SectionID].getAddress()),
489 Sections[SectionID].getStubOffset() + getMaxStubSize());
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.cpp 48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset;
64 SectionEntry &Section = Sections[SectionID];
150 const SectionEntry &Section = Sections[RE.SectionID];
199 << Sections[PTSectionID].getName() << ", Section ID "
325 SectionEntry *Text = &Sections[SectionInfo.TextSID];
326 SectionEntry *EHFrame = &Sections[SectionInfo.EHFrameSID];
329 ExceptTab = &Sections[SectionInfo.ExceptTabSID];
lib/ExecutionEngine/RuntimeDyld/RuntimeDyldMachO.h 132 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; }
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFI386.h 62 SectionEntry &AddendSection = Sections[SectionID];
132 const auto Section = Sections[RE.SectionID];
144 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(
159 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend) -
160 Sections[0].getLoadAddress();
174 : Sections[RE.Sections.SectionA].getLoadAddress();
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFThumb.h 84 SectionEntry &AddendSection = Sections[SectionID];
175 const auto Section = Sections[RE.SectionID];
189 : Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend);
203 uint64_t Result = Sections[RE.Sections.SectionA].getLoadAddress() -
204 Sections[0].getLoadAddress() + RE.Addend;
236 Sections[RE.Sections.SectionA].getLoadAddressWithOffset(RE.Addend);
265 RE.Addend - (Sections[RE.SectionID].getLoadAddress() + RE.Offset) - 4;
280 RE.Addend - (Sections[RE.SectionID].getLoadAddress() + RE.Offset) - 4;
295 RE.Addend - (Sections[RE.SectionID].getLoadAddress() + RE.Offset) - 4;
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldCOFFX86_64.h 38 for (const SectionEntry &Section : Sections)
87 const SectionEntry &Section = Sections[RE.SectionID];
148 SectionEntry &Section = Sections[SectionID];
211 SectionEntry &Section = Sections[SectionID];
273 uint8_t *EHFrameAddr = Sections[EHFrameSID].getAddress();
274 uint64_t EHFrameLoadAddr = Sections[EHFrameSID].getLoadAddress();
275 size_t EHFrameSize = Sections[EHFrameSID].getSize();
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldELFMips.cpp 16 const SectionEntry &Section = Sections[RE.SectionID];
33 const SectionEntry &Section = Sections[RE.SectionID];
44 const SectionEntry &Section = Sections[RE.SectionID];
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOAArch64.h 35 const SectionEntry &Section = Sections[RE.SectionID];
358 const SectionEntry &Section = Sections[RE.SectionID];
418 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress();
419 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress();
447 SectionEntry &Section = Sections[RE.SectionID];
490 uint8_t *LocalAddress = Sections[SectionID].getAddressWithOffset(Offset);
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOARM.h 52 auto TargetObjAddr = Sections[SectionID].getObjAddress() + Offset;
56 Sections[Entry.getSectionID()].getObjAddress() + Entry.getOffset();
64 const SectionEntry &Section = Sections[RE.SectionID];
205 const SectionEntry &Section = Sections[RE.SectionID];
260 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress();
261 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress();
310 SectionEntry &Section = Sections[RE.SectionID];
360 SectionEntry &Section = Sections[SectionID];
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOI386.h 101 const SectionEntry &Section = Sections[RE.SectionID];
115 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress();
116 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress();
154 SectionEntry &Section = Sections[SectionID];
lib/ExecutionEngine/RuntimeDyld/Targets/RuntimeDyldMachOX86_64.h 88 const SectionEntry &Section = Sections[RE.SectionID];
112 uint64_t SectionABase = Sections[RE.Sections.SectionA].getLoadAddress();
113 uint64_t SectionBBase = Sections[RE.Sections.SectionB].getLoadAddress();
131 SectionEntry &Section = Sections[RE.SectionID];
168 uint8_t *LocalAddress = Sections[SectionID].getAddressWithOffset(Offset);