Searched refs:SectionID (Results 1 - 25 of 32) sorted by relevance

12

/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h119 /// SectionID - the section this relocation points to.
120 unsigned SectionID; member in class:llvm::RelocationEntry
154 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
159 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
165 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
171 : SectionID(id), Offset(offset), RelType(type),
182 : SectionID(id), Offset(offset), RelType(type),
192 unsigned SectionID = 0; member in class:llvm::RelocationValueRef
199 return SectionID == Other.SectionID
221 SymbolTableEntry(unsigned SectionID, uint64_t Offset, JITSymbolFlags Flags) argument
232 unsigned SectionID = 0; member in class:llvm::SymbolTableEntry
531 auto SectionID = KV.second.getSectionID(); local
[all...]
H A DRuntimeDyldELF.cpp629 // Set a default SectionID in case we do not find a TOC section below.
635 Rel.SectionID = 0;
651 Rel.SectionID = *SectionIDOrErr;
735 Rel.SectionID = *SectionIDOrErr;
972 // The target location for the relocation is described by RE.SectionID and
973 // RE.Offset. RE.SectionID can be used to find the SectionEntry. Each
994 const SectionEntry &Section = Sections[RE.SectionID];
996 RE.SymOffset, RE.SectionID);
1002 uint64_t SymOffset, SID SectionID) {
1042 void *RuntimeDyldELF::computePlaceholderAddress(unsigned SectionID, uint64_ argument
999 resolveRelocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID) argument
1046 processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValueRef Value) argument
1086 resolveAArch64ShortBranch( unsigned SectionID, relocation_iterator RelI, const RelocationValueRef &Value) argument
1119 resolveAArch64Branch(unsigned SectionID, const RelocationValueRef &Value, relocation_iterator RelI, StubMap &Stubs) argument
1175 processRelocationRef( unsigned SectionID, relocation_iterator RelI, const ObjectFile &O, ObjSectionToIDMap &ObjSectionToID, StubMap &Stubs) argument
1908 resolveGOTOffsetRelocation(unsigned SectionID, uint64_t Offset, uint64_t GOTOffset, uint32_t Type) argument
[all...]
H A DRuntimeDyldMachO.h29 unsigned SectionID; member in struct:llvm::RuntimeDyldMachO::SectionOffsetPair
46 // When a module is loaded we save the SectionID of the EH frame section
64 RelocationEntry getRelocationEntry(unsigned SectionID, argument
78 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size);
83 processScatteredVANILLA(unsigned SectionID, relocation_iterator RelI,
90 /// representing a (SectionID, Offset) pair.
132 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } argument
H A DRuntimeDyldELF.h30 uint64_t SymOffset = 0, SID SectionID = 0);
42 bool resolveAArch64ShortBranch(unsigned SectionID, relocation_iterator RelI,
45 void resolveAArch64Branch(unsigned SectionID, const RelocationValueRef &Value,
102 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } argument
113 void resolveGOTOffsetRelocation(unsigned SectionID, uint64_t Offset,
116 // For a GOT entry referenced from SectionID, compute a relocation entry
122 void *computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const;
126 void processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValueRef Value);
153 // When a module is loaded we save the SectionID o
[all...]
H A DRuntimeDyldCOFF.cpp82 uint64_t RuntimeDyldCOFF::getDLLImportOffset(unsigned SectionID, StubMap &Stubs, argument
95 assert(SectionID < Sections.size() && "SectionID out of range");
96 auto &Sec = Sections[SectionID];
101 RelocationEntry RE(SectionID, EntryOffset, PointerReloc, 0, false,
H A DRuntimeDyld.cpp147 // symbol for the relocation is located. The SectionID in the relocation
305 unsigned SectionID = AbsoluteSymbolSection; local
308 << " SID: " << SectionID
313 SymbolTableEntry(SectionID, Addr, *JITSymFlags);
334 unsigned SectionID; local
337 SectionID = *SectionIDOrErr;
342 << " SID: " << SectionID
347 SymbolTableEntry(SectionID, SectOffset, *JITSymFlags);
377 unsigned SectionID = 0; local
380 SectionID
742 unsigned SectionID = Sections.size(); local
824 unsigned SectionID = Sections.size(); local
913 unsigned SectionID = 0; local
927 addRelocationForSection(const RelocationEntry &RE, unsigned SectionID) argument
1059 reassignSectionAddress(unsigned SectionID, uint64_t Addr) argument
1372 reassignSectionAddress(unsigned SectionID, uint64_t Addr) argument
[all...]
H A DRuntimeDyldCOFF.h47 uint64_t getDLLImportOffset(unsigned SectionID, StubMap &Stubs,
H A DRuntimeDyldMachO.cpp48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset;
55 unsigned SectionID, relocation_iterator RelI,
64 SectionEntry &Section = Sections[SectionID];
87 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size);
119 Value.SectionID = SymInfo.getSectionID();
130 Value.SectionID = *SectionIDOrErr;
150 const SectionEntry &Section = Sections[RE.SectionID];
154 dbgs() << "resolveRelocation Section: " << RE.SectionID
54 processScatteredVANILLA( unsigned SectionID, relocation_iterator RelI, const ObjectFile &BaseObjT, RuntimeDyldMachO::ObjSectionToIDMap &ObjSectionToID, bool TargetIsLocalThumbFunc) argument
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/Object/
H A DSymbolSize.h22 unsigned SectionID; member in struct:llvm::object::SymEntry
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldCOFFX86_64.h27 // When a module is loaded we save the SectionID of the unwind
67 // The target location for the relocation is described by RE.SectionID and
68 // RE.Offset. RE.SectionID can be used to find the SectionEntry. Each
88 const SectionEntry &Section = Sections[RE.SectionID];
144 generateRelocationStub(unsigned SectionID, StringRef TargetName, argument
148 SectionEntry &Section = Sections[SectionID];
151 OriginalRelValueRef.SectionID = SectionID;
178 const RelocationEntry RE(SectionID, Offset, RelType, Addend);
190 processRelocationRef(unsigned SectionID,
[all...]
H A DRuntimeDyldCOFFThumb.h60 processRelocationRef(unsigned SectionID,
84 SectionEntry &AddendSection = Sections[SectionID];
102 LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset
111 TargetSectionID = SectionID;
112 TargetOffset = getDLLImportOffset(SectionID, Stubs, TargetName, true);
126 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0);
141 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID,
148 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID,
161 RelocationEntry(SectionID, Offset, RelType, TargetOffset + Addend);
167 RelocationEntry(SectionID, Offse
[all...]
H A DRuntimeDyldMachOX86_64.h34 processRelocationRef(unsigned SectionID, relocation_iterator RelI,
45 return processSubtractRelocation(SectionID, RelI, Obj, ObjSectionToID);
50 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
80 addRelocationForSection(RE, Value.SectionID);
88 const SectionEntry &Section = Sections[RE.SectionID];
123 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, argument
131 SectionEntry &Section = Sections[RE.SectionID];
142 RelocationEntry GOTRE(RE.SectionID, Section.getStubOffset(),
148 addRelocationForSection(GOTRE, Value.SectionID);
152 RelocationEntry TargetRE(RE.SectionID, R
158 processSubtractRelocation(unsigned SectionID, relocation_iterator RelI, const MachOObjectFile &BaseObj, ObjSectionToIDMap &ObjSectionToID) argument
[all...]
H A DRuntimeDyldELFMips.h35 uint64_t SymOffset, SID SectionID);
38 uint64_t SymOffset, SID SectionID);
57 uint64_t SymOffset, SID SectionID);
H A DRuntimeDyldCOFFI386.h37 processRelocationRef(unsigned SectionID,
64 TargetSectionID = SectionID;
65 TargetOffset = getDLLImportOffset(SectionID, Stubs, TargetName, true);
80 SectionEntry &AddendSection = Sections[SectionID];
100 LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset
105 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0);
117 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID,
130 RelocationEntry(SectionID, Offset, RelType, TargetOffset + Addend);
143 const auto Section = Sections[RE.SectionID];
201 assert(static_cast<uint32_t>(RE.SectionID) <
[all...]
H A DRuntimeDyldMachOARM.h51 bool isAddrTargetThumb(unsigned SectionID, uint64_t Offset) { argument
52 auto TargetObjAddr = Sections[SectionID].getObjAddress() + Offset;
64 const SectionEntry &Section = Sections[RE.SectionID];
101 processRelocationRef(unsigned SectionID, relocation_iterator RelI,
135 return processHALFSECTDIFFRelocation(SectionID, RelI, Obj,
138 return processScatteredVANILLA(SectionID, RelI, Obj, ObjSectionToID,
160 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
187 RE.IsTargetThumbFunc = isAddrTargetThumb(Value.SectionID, Value.Offset);
197 addRelocationForSection(RE, Value.SectionID);
205 const SectionEntry &Section = Sections[RE.SectionID];
289 finalizeSection(const ObjectFile &Obj, unsigned SectionID, const SectionRef &Section) argument
345 processHALFSECTDIFFRelocation(unsigned SectionID, relocation_iterator RelI, const ObjectFile &BaseTObj, ObjSectionToIDMap &ObjSectionToID) argument
[all...]
H A DRuntimeDyldELFMips.cpp16 const SectionEntry &Section = Sections[RE.SectionID];
21 RE.SymOffset, RE.SectionID);
24 RE.SymOffset, RE.SectionID);
33 const SectionEntry &Section = Sections[RE.SectionID];
35 Addend, RE.SymOffset, RE.SectionID);
44 const SectionEntry &Section = Sections[RE.SectionID];
110 int64_t Addend, uint64_t SymOffset, SID SectionID) {
120 << " SID: " << format("%d", SectionID)
136 uint64_t GOTAddr = getSectionLoadAddress(SectionToGOTMap[SectionID]);
154 getSectionAddress(SectionToGOTMap[SectionID])
108 evaluateMIPS64Relocation( const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID) argument
265 resolveMIPSN32Relocation( const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID) argument
274 resolveMIPSN64Relocation( const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID) argument
[all...]
H A DRuntimeDyldMachOI386.h34 processRelocationRef(unsigned SectionID, relocation_iterator RelI,
47 return processSECTDIFFRelocation(SectionID, RelI, Obj,
50 return processScatteredVANILLA(SectionID, RelI, Obj, ObjSectionToID);
67 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
93 addRelocationForSection(RE, Value.SectionID);
101 const SectionEntry &Section = Sections[RE.SectionID];
128 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, argument
137 return populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID);
140 Section, SectionID);
146 processSECTDIFFRelocation(unsigned SectionID, relocation_iterato argument
[all...]
H A DRuntimeDyldCOFFAArch64.h66 // When a module is loaded we save the SectionID of the unwind
100 generateRelocationStub(unsigned SectionID, StringRef TargetName, argument
104 SectionEntry &Section = Sections[SectionID];
107 OriginalRelValueRef.SectionID = SectionID;
128 const RelocationEntry RE(SectionID, Offset, RelType, Addend);
142 processRelocationRef(unsigned SectionID, object::relocation_iterator RelI,
169 SectionEntry &AddendSection = Sections[SectionID];
177 TargetSectionID = SectionID;
178 TargetOffset = getDLLImportOffset(SectionID, Stub
[all...]
H A DRuntimeDyldMachOAArch64.h35 const SectionEntry &Section = Sections[RE.SectionID];
273 processRelocationRef(unsigned SectionID, relocation_iterator RelI,
303 return processSubtractRelocation(SectionID, RelI, Obj, ObjSectionToID);
305 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI));
349 addRelocationForSection(RE, Value.SectionID);
358 const SectionEntry &Section = Sections[RE.SectionID];
436 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, argument
447 SectionEntry &Section = Sections[RE.SectionID];
464 RelocationEntry GOTRE(RE.SectionID, StubOffset,
470 addRelocationForSection(GOTRE, Value.SectionID);
480 processSubtractRelocation(unsigned SectionID, relocation_iterator RelI, const ObjectFile &BaseObjT, ObjSectionToIDMap &ObjSectionToID) argument
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/tools/lli/
H A DRemoteJITUtils.h44 unsigned SectionID,
46 return MemMgr->allocateCodeSection(Size, Alignment, SectionID, SectionName);
50 unsigned SectionID, StringRef SectionName,
52 return MemMgr->allocateDataSection(Size, Alignment, SectionID, SectionName,
/netbsd-current/external/apache2/llvm/dist/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp192 SectionInfo(StringRef Name, sys::MemoryBlock MB, unsigned SectionID) argument
193 : Name(std::string(Name)), MB(std::move(MB)), SectionID(SectionID) {}
196 unsigned SectionID = ~0U; member in struct:TrivialMemoryManager::SectionInfo
203 unsigned SectionID,
206 unsigned SectionID, StringRef SectionName,
209 /// If non null, records subsequent Name -> SectionID mappings.
262 StringRef SectionName, unsigned SectionID) {
270 FunctionMemory.push_back(SectionInfo(SectionName, MB, SectionID));
272 DataMemory.push_back(SectionInfo(SectionName, MB, SectionID));
261 allocateFromSlab(uintptr_t Size, unsigned Alignment, bool isCode, StringRef SectionName, unsigned SectionID) argument
286 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
313 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool IsReadOnly) argument
612 unsigned SectionID = local
782 unsigned SectionID; member in struct:StubID
[all...]
/netbsd-current/external/apache2/llvm/dist/llvm/lib/Object/
H A DSymbolSize.cpp19 // Orders increasingly by (SectionID, Address).
21 if (A->SectionID != B->SectionID)
22 return A->SectionID < B->SectionID ? -1 : 1;
/netbsd-current/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/
H A DSectionMemoryManager.h118 unsigned SectionID,
127 unsigned SectionID, StringRef SectionName,
H A DRuntimeDyld.h62 void reassignSectionAddress(unsigned SectionID, uint64_t Addr);
66 unsigned SectionID, uint32_t StubOffset)>;
100 /// executable code. The SectionID is a unique identifier assigned by the
104 unsigned SectionID,
108 /// The SectionID is a unique identifier assigned by the JIT engine, and
111 unsigned SectionID,
217 StringRef getSectionContent(unsigned SectionID) const;
221 uint64_t getSectionLoadAddress(unsigned SectionID) const;
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp341 unsigned SectionID,
345 unsigned SectionID, StringRef SectionName,
374 uintptr_t Size, unsigned Alignment, unsigned SectionID,
376 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID,
381 uintptr_t Size, unsigned Alignment, unsigned SectionID,
383 return Functions.AllocateDataSection(Opaque, Size, Alignment, SectionID,
373 allocateCodeSection( uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
380 allocateDataSection( uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool isReadOnly) argument

Completed in 330 milliseconds

12