Home
last modified time | relevance | path

Searched refs:SectionID (Results 1 – 23 of 23) sorted by relevance

/minix/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h80 unsigned SectionID;
127 : SectionID(id), Offset(offset), RelType(type), in RelocationEntry()
137 unsigned SectionID;
141 RelocationValueRef() : SectionID(0), Offset(0), Addend(0), in RelocationValueRef()
145 return SectionID == Other.SectionID && Offset == Other.Offset &&
149 if (SectionID != Other.SectionID)
150 return SectionID < Other.SectionID;
243 uint64_t getSectionLoadAddress(unsigned SectionID) const { in getSectionLoadAddress() argument
244 return Sections[SectionID].LoadAddress; in getSectionLoadAddress()
247 uint8_t *getSectionAddress(unsigned SectionID) const { in getSectionAddress() argument
[all …]
H A DRuntimeDyld.cpp201 unsigned SectionID = in loadObjectImpl() local
219 unsigned SectionID = 0; in loadObjectImpl() local
230 SectionID = in loadObjectImpl()
449 unsigned SectionID = Sections.size(); in emitCommonSymbols() local
509 unsigned SectionID = Sections.size(); in emitSection() local
563 return SectionID; in emitSection()
571 unsigned SectionID = 0; in findOrEmitSection() local
574 SectionID = i->second; in findOrEmitSection()
577 LocalSections[Section] = SectionID; in findOrEmitSection()
579 return SectionID; in findOrEmitSection()
[all …]
H A DRuntimeDyldELF.cpp591 Rel.SectionID = 0; in findPPC64TOCSection()
929 Value.SectionID = gsi->second.first; in processRelocationRef()
976 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
997 RelocationEntry REmovk_g0(SectionID, in processRelocationRef()
1022 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1052 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
1065 addRelocationForSection(RE, SectionID); in processRelocationRef()
1089 addRelocationForSection(RE, SectionID); in processRelocationRef()
1219 if (Value.SymbolName || Value.SectionID != TOCValue.SectionID) in processRelocationRef()
1255 SectionEntry &Section = Sections[SectionID]; in processRelocationRef()
[all …]
H A DRuntimeDyldMachO.h30 unsigned SectionID; member
63 RelocationEntry getRelocationEntry(unsigned SectionID, in getRelocationEntry() argument
78 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size); in getRelocationEntry()
123 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } in getSection() argument
H A DRuntimeDyldCheckerImpl.h36 uint64_t SectionID; member
63 void registerSection(StringRef FilePath, unsigned SectionID);
64 void registerStubMap(StringRef FilePath, unsigned SectionID,
H A DRuntimeDyldChecker.cpp801 unsigned SectionID = SectionInfo->SectionID; in getSectionAddr() local
808 Addr = getRTDyld().Sections[SectionID].LoadAddress; in getSectionAddr()
826 unsigned SectionID = SectionInfo->SectionID; in getStubAddrFor() local
844 uint64_t SectionBase = getRTDyld().Sections[SectionID].LoadAddress; in getStubAddrFor()
864 StringRef FilePath, unsigned SectionID) { in registerSection() argument
866 const SectionEntry &Section = getRTDyld().Sections[SectionID]; in registerSection()
869 Stubs[FileName][SectionName].SectionID = SectionID; in registerSection()
873 StringRef FilePath, unsigned SectionID, in registerStubMap() argument
876 const SectionEntry &Section = getRTDyld().Sections[SectionID]; in registerStubMap()
879 Stubs[FileName][SectionName].SectionID = SectionID; in registerStubMap()
[all …]
H A DRuntimeDyldMachO.cpp47 uint8_t *Src = Sections[RE.SectionID].Address + RE.Offset; in memcpyAddend()
70 Value.SectionID = SI->second.first; in getRelocationValueRef()
79 Value.SectionID = findOrEmitSection(Obj, Sec, IsCode, ObjSectionToID); in getRelocationValueRef()
106 const SectionEntry &Section = Sections[RE.SectionID]; in dumpRelocationToResolve()
110 dbgs() << "resolveRelocation Section: " << RE.SectionID in dumpRelocationToResolve()
H A DRuntimeDyldELF.h119 processRelocationRef(unsigned SectionID, relocation_iterator RelI,
/minix/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOARM.h35 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
51 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
63 return processHALFSECTDIFFRelocation(SectionID, RelI, Obj, in processRelocationRef()
69 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
84 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
92 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
158 void finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
165 Section, SectionID); in finalizeSection()
175 SectionEntry &Section = Sections[RE.SectionID]; in processBranchRelocation()
191 addRelocationForSection(StubRE, Value.SectionID); in processBranchRelocation()
[all …]
H A DRuntimeDyldMachOI386.h33 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
46 return processSECTDIFFRelocation(SectionID, RelI, Obj, in processRelocationRef()
49 return processI386ScatteredVANILLA(SectionID, RelI, Obj, in processRelocationRef()
54 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
77 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
85 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
114 void finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
123 Section, SectionID); in finalizeSection()
136 SectionEntry &Section = Sections[SectionID]; in processSECTDIFFRelocation()
188 unsigned SectionID, relocation_iterator RelI, in processI386ScatteredVANILLA() argument
[all …]
H A DRuntimeDyldMachOX86_64.h33 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
45 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
62 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
70 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
101 void finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
107 SectionEntry &Section = Sections[RE.SectionID]; in processGOTRelocation()
118 RelocationEntry GOTRE(RE.SectionID, Section.StubOffset, in processGOTRelocation()
124 addRelocationForSection(GOTRE, Value.SectionID); in processGOTRelocation()
128 RelocationEntry TargetRE(RE.SectionID, RE.Offset, in processGOTRelocation()
H A DRuntimeDyldMachOAArch64.h35 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend()
245 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument
272 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef()
297 addRelocationForSection(RE, Value.SectionID); in processRelocationRef()
306 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation()
363 void finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument
370 SectionEntry &Section = Sections[RE.SectionID]; in processGOTRelocation()
387 RelocationEntry GOTRE(RE.SectionID, StubOffset, in processGOTRelocation()
393 addRelocationForSection(GOTRE, Value.SectionID); in processGOTRelocation()
397 RelocationEntry TargetRE(RE.SectionID, RE.Offset, RE.RelType, Offset, in processGOTRelocation()
[all …]
/minix/external/bsd/llvm/dist/llvm/include/llvm/ExecutionEngine/
H A DSectionMemoryManager.h51 unsigned SectionID,
60 unsigned SectionID, StringRef SectionName,
H A DRTDyldMemoryManager.h48 uintptr_t Size, unsigned Alignment, unsigned SectionID,
55 uintptr_t Size, unsigned Alignment, unsigned SectionID,
H A DRuntimeDyld.h47 void reassignSectionAddress(unsigned SectionID, uint64_t Addr);
/minix/external/bsd/llvm/dist/llvm/tools/lli/
H A DRemoteMemoryManager.h70 unsigned SectionID,
74 unsigned SectionID, StringRef SectionName,
H A DRemoteMemoryManager.cpp32 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateCodeSection() argument
48 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument
/minix/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp357 unsigned SectionID,
361 unsigned SectionID, StringRef SectionName,
390 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateCodeSection() argument
392 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID, in allocateCodeSection()
397 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateDataSection() argument
399 return Functions.AllocateDataSection(Opaque, Size, Alignment, SectionID, in allocateDataSection()
/minix/external/bsd/llvm/dist/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h39 unsigned SectionID, in allocateCodeSection() argument
41 return ClientMM->allocateCodeSection(Size, Alignment, SectionID, SectionName); in allocateCodeSection()
45 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument
48 SectionID, SectionName, IsReadOnly); in allocateDataSection()
H A DSectionMemoryManager.cpp23 unsigned SectionID, in allocateDataSection() argument
33 unsigned SectionID, in allocateCodeSection() argument
/minix/external/bsd/llvm/dist/llvm/include/llvm-c/
H A DExecutionEngine.h180 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
183 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
/minix/external/bsd/llvm/dist/llvm/unittests/ExecutionEngine/MCJIT/
H A DMCJITCAPITest.cpp107 unsigned SectionID, StringRef SectionName, bool IsReadOnly) { in allocateDataSection() argument
110 SectionID, SectionName, IsReadOnly); in allocateDataSection()
114 unsigned SectionID, StringRef SectionName) { in allocateCodeSection() argument
117 SectionID, SectionName); in allocateCodeSection()
/minix/external/bsd/llvm/dist/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp115 unsigned SectionID,
118 unsigned SectionID, StringRef SectionName,
137 unsigned SectionID, in allocateCodeSection() argument
146 unsigned SectionID, in allocateDataSection() argument