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

12

/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldImpl.h120 /// SectionID - the section this relocation points to.
121 unsigned SectionID; member in class:llvm::RelocationEntry
155 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
160 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
166 : SectionID(id), Offset(offset), RelType(type), Addend(addend),
172 : SectionID(id), Offset(offset), RelType(type),
183 : SectionID(id), Offset(offset), RelType(type),
193 unsigned SectionID; member in class:llvm::RelocationValueRef
198 RelocationValueRef() : SectionID(0), Offset(0), Addend(0),
202 return SectionID
224 SymbolTableEntry(unsigned SectionID, uint64_t Offset, JITSymbolFlags Flags) argument
235 unsigned SectionID = 0; member in class:llvm::SymbolTableEntry
536 auto SectionID = KV.second.getSectionID(); local
[all...]
H A DRuntimeDyldELF.cpp564 // Set a default SectionID in case we do not find a TOC section below.
570 Rel.SectionID = 0;
586 Rel.SectionID = *SectionIDOrErr;
670 Rel.SectionID = *SectionIDOrErr;
907 // The target location for the relocation is described by RE.SectionID and
908 // RE.Offset. RE.SectionID can be used to find the SectionEntry. Each
929 const SectionEntry &Section = Sections[RE.SectionID];
931 RE.SymOffset, RE.SectionID);
937 uint64_t SymOffset, SID SectionID) {
976 void *RuntimeDyldELF::computePlaceholderAddress(unsigned SectionID, uint64_ argument
934 resolveRelocation(const SectionEntry &Section, uint64_t Offset, uint64_t Value, uint32_t Type, int64_t Addend, uint64_t SymOffset, SID SectionID) argument
980 processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValueRef Value) argument
1020 resolveAArch64ShortBranch( unsigned SectionID, relocation_iterator RelI, const RelocationValueRef &Value) argument
1053 resolveAArch64Branch(unsigned SectionID, const RelocationValueRef &Value, relocation_iterator RelI, StubMap &Stubs) argument
1109 processRelocationRef( unsigned SectionID, relocation_iterator RelI, const ObjectFile &O, ObjSectionToIDMap &ObjSectionToID, StubMap &Stubs) argument
1837 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,
101 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } argument
112 void resolveGOTOffsetRelocation(unsigned SectionID, uint64_t Offset,
115 // For a GOT entry referenced from SectionID, compute a relocation entry
121 void *computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const;
125 void processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValueRef Value);
152 // When a module is loaded we save the SectionID o
[all...]
H A DRuntimeDyld.cpp147 // symbol for the relocation is located. The SectionID in the relocation
298 unsigned SectionID = AbsoluteSymbolSection; local
301 << " SID: " << SectionID
304 GlobalSymbolTable[Name] = SymbolTableEntry(SectionID, Addr, *JITSymFlags);
325 unsigned SectionID; local
328 SectionID = *SectionIDOrErr;
333 << " SID: " << SectionID
337 SymbolTableEntry(SectionID, SectOffset, *JITSymFlags);
367 unsigned SectionID = 0; local
370 SectionID
725 unsigned SectionID = Sections.size(); local
806 unsigned SectionID = Sections.size(); local
895 unsigned SectionID = 0; local
909 addRelocationForSection(const RelocationEntry &RE, unsigned SectionID) argument
1039 reassignSectionAddress(unsigned SectionID, uint64_t Addr) argument
1360 reassignSectionAddress(unsigned SectionID, uint64_t Addr) argument
[all...]
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
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/Object/
H A DSymbolSize.h22 unsigned SectionID; member in struct:llvm::object::SymEntry
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
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 DRuntimeDyldCOFFThumb.h60 processRelocationRef(unsigned SectionID,
84 SectionEntry &AddendSection = Sections[SectionID];
102 LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset
108 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0);
128 SectionID, Offset, RelType, Addend, TargetSectionID,
135 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID,
147 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType,
154 SectionID, Offset, RelType, Addend, TargetSectionID,
163 RelocationEntry(SectionID, Offset, RelType,
175 const auto Section = Sections[RE.SectionID];
[all...]
H A DRuntimeDyldELFMips.h35 uint64_t SymOffset, SID SectionID);
38 uint64_t SymOffset, SID SectionID);
57 uint64_t SymOffset, SID SectionID);
H A DRuntimeDyldCOFFX86_64.h27 // When a module is loaded we save the SectionID of the unwind
66 // The target location for the relocation is described by RE.SectionID and
67 // RE.Offset. RE.SectionID can be used to find the SectionEntry. Each
87 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 DRuntimeDyldCOFFAArch64.h66 // When a module is loaded we save the SectionID of the unwind
99 generateRelocationStub(unsigned SectionID, StringRef TargetName, argument
103 SectionEntry &Section = Sections[SectionID];
106 OriginalRelValueRef.SectionID = SectionID;
127 const RelocationEntry RE(SectionID, Offset, RelType, Addend);
141 processRelocationRef(unsigned SectionID, object::relocation_iterator RelI,
168 SectionEntry &AddendSection = Sections[SectionID];
185 SectionID, TargetName, Offset, RelType, Addend, Stubs);
222 LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offse
[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 DRuntimeDyldCOFFI386.h37 processRelocationRef(unsigned SectionID,
62 SectionEntry &AddendSection = Sections[SectionID];
82 LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset
88 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0);
105 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID,
117 RelocationEntry RE = RelocationEntry(SectionID, Offset, RelType,
132 const auto Section = Sections[RE.SectionID];
190 assert(static_cast<uint32_t>(RE.SectionID) <= UINT16_MAX &&
194 << RE.SectionID << '\n');
195 writeBytesUnaligned(RE.SectionID, Targe
[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 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...]
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyld.h62 void reassignSectionAddress(unsigned SectionID, uint64_t Addr);
67 unsigned SectionID, uint32_t StubOffset)>;
101 /// executable code. The SectionID is a unique identifier assigned by the
105 unsigned SectionID,
109 /// The SectionID is a unique identifier assigned by the JIT engine, and
112 unsigned SectionID,
213 StringRef getSectionContent(unsigned SectionID) const;
217 uint64_t getSectionLoadAddress(unsigned SectionID) const;
H A DSectionMemoryManager.h119 unsigned SectionID,
128 unsigned SectionID, StringRef SectionName,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/Object/
H A DSymbolSize.cpp18 // Orders increasingly by (SectionID, Address).
20 if (A->SectionID != B->SectionID)
21 return A->SectionID < B->SectionID ? -1 : 1;
/freebsd-11-stable/contrib/llvm-project/llvm/tools/llvm-rtdyld/
H A Dllvm-rtdyld.cpp191 SectionInfo(StringRef Name, sys::MemoryBlock MB, unsigned SectionID) argument
192 : Name(Name), MB(std::move(MB)), SectionID(SectionID) {}
195 unsigned SectionID = ~0U; member in struct:TrivialMemoryManager::SectionInfo
202 unsigned SectionID,
205 unsigned SectionID, StringRef SectionName,
208 /// If non null, records subsequent Name -> SectionID mappings.
261 StringRef SectionName, unsigned SectionID) {
269 FunctionMemory.push_back(SectionInfo(SectionName, MB, SectionID));
271 DataMemory.push_back(SectionInfo(SectionName, MB, SectionID));
260 allocateFromSlab(uintptr_t Size, unsigned Alignment, bool isCode, StringRef SectionName, unsigned SectionID) argument
285 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
312 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool IsReadOnly) argument
611 unsigned SectionID = local
779 unsigned SectionID; member in struct:StubID
[all...]
/freebsd-11-stable/contrib/llvm-project/llvm/tools/lli/
H A DRemoteJITUtils.h91 unsigned SectionID,
93 return MemMgr->allocateCodeSection(Size, Alignment, SectionID, SectionName);
97 unsigned SectionID, StringRef SectionName,
99 return MemMgr->allocateDataSection(Size, Alignment, SectionID, SectionName,
/freebsd-11-stable/contrib/llvm-project/llvm/include/llvm-c/
H A DExecutionEngine.h155 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
158 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
/freebsd-11-stable/contrib/llvm-project/llvm/lib/ExecutionEngine/
H A DExecutionEngineBindings.cpp329 unsigned SectionID,
333 unsigned SectionID, StringRef SectionName,
362 uintptr_t Size, unsigned Alignment, unsigned SectionID,
364 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID,
369 uintptr_t Size, unsigned Alignment, unsigned SectionID,
371 return Functions.AllocateDataSection(Opaque, Size, Alignment, SectionID,
361 allocateCodeSection( uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument
368 allocateDataSection( uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool isReadOnly) argument
H A DSectionMemoryManager.cpp23 unsigned SectionID,
35 unsigned SectionID,
21 allocateDataSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName, bool IsReadOnly) argument
33 allocateCodeSection(uintptr_t Size, unsigned Alignment, unsigned SectionID, StringRef SectionName) argument

Completed in 237 milliseconds

12