HomeSort by: relevance | last modified time | path
    Searched refs:SectionID (Results 1 - 25 of 32) sorted by relevancy

1 2

  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/
RuntimeDyldImpl.h 119 /// SectionID - the section this relocation points to.
120 unsigned SectionID;
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;
199 return SectionID == Other.SectionID && Offset == Other.Offset &
    [all...]
RuntimeDyldELF.cpp 629 // 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_t Offset) const
    [all...]
RuntimeDyldMachO.h 29 unsigned SectionID;
46 // When a module is loaded we save the SectionID of the EH frame section
64 RelocationEntry getRelocationEntry(unsigned SectionID,
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]; }
RuntimeDyldCOFF.cpp 82 uint64_t RuntimeDyldCOFF::getDLLImportOffset(unsigned SectionID, StubMap &Stubs,
95 assert(SectionID < Sections.size() && "SectionID out of range");
96 auto &Sec = Sections[SectionID];
101 RelocationEntry RE(SectionID, EntryOffset, PointerReloc, 0, false,
RuntimeDyldELF.h 30 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]; }
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 of the EH frame sectio
    [all...]
RuntimeDyld.cpp 147 // symbol for the relocation is located. The SectionID in the relocation
305 unsigned SectionID = AbsoluteSymbolSection;
308 << " SID: " << SectionID
313 SymbolTableEntry(SectionID, Addr, *JITSymFlags);
334 unsigned SectionID;
337 SectionID = *SectionIDOrErr;
342 << " SID: " << SectionID
347 SymbolTableEntry(SectionID, SectOffset, *JITSymFlags);
377 unsigned SectionID = 0;
380 SectionID = *SectionIDOrErr
    [all...]
RuntimeDyldCOFF.h 47 uint64_t getDLLImportOffset(unsigned SectionID, StubMap &Stubs,
RuntimeDyldMachO.cpp 48 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
  /src/external/apache2/llvm/dist/llvm/include/llvm/Object/
SymbolSize.h 22 unsigned SectionID;
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
RuntimeDyldCOFFX86_64.h 27 // 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,
148 SectionEntry &Section = Sections[SectionID];
151 OriginalRelValueRef.SectionID = SectionID;
178 const RelocationEntry RE(SectionID, Offset, RelType, Addend);
190 processRelocationRef(unsigned SectionID,
    [all...]
RuntimeDyldCOFFThumb.h 60 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, Offset, RelType, Addend, TargetSectionID
    [all...]
RuntimeDyldMachOX86_64.h 34 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,
131 SectionEntry &Section = Sections[RE.SectionID];
142 RelocationEntry GOTRE(RE.SectionID, Section.getStubOffset(),
148 addRelocationForSection(GOTRE, Value.SectionID);
152 RelocationEntry TargetRE(RE.SectionID, RE.Offset
    [all...]
RuntimeDyldCOFFI386.h 37 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) <= UINT16_MAX &
    [all...]
RuntimeDyldELFMips.h 35 uint64_t SymOffset, SID SectionID);
38 uint64_t SymOffset, SID SectionID);
57 uint64_t SymOffset, SID SectionID);
RuntimeDyldMachOARM.h 51 bool isAddrTargetThumb(unsigned SectionID, uint64_t Offset) {
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];
    [all...]
RuntimeDyldELFMips.cpp 16 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]) + SymOffset
    [all...]
RuntimeDyldMachOI386.h 34 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,
137 return populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID);
140 Section, SectionID);
146 processSECTDIFFRelocation(unsigned SectionID, relocation_iterator RelI
    [all...]
RuntimeDyldCOFFAArch64.h 66 // When a module is loaded we save the SectionID of the unwind
100 generateRelocationStub(unsigned SectionID, StringRef TargetName,
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, Stubs, TargetName)
    [all...]
RuntimeDyldMachOAArch64.h 35 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,
447 SectionEntry &Section = Sections[RE.SectionID];
464 RelocationEntry GOTRE(RE.SectionID, StubOffset,
470 addRelocationForSection(GOTRE, Value.SectionID);
    [all...]
  /src/external/apache2/llvm/dist/llvm/tools/lli/
RemoteJITUtils.h 44 unsigned SectionID,
46 return MemMgr->allocateCodeSection(Size, Alignment, SectionID, SectionName);
50 unsigned SectionID, StringRef SectionName,
52 return MemMgr->allocateDataSection(Size, Alignment, SectionID, SectionName,
  /src/external/apache2/llvm/dist/llvm/tools/llvm-rtdyld/
llvm-rtdyld.cpp 192 SectionInfo(StringRef Name, sys::MemoryBlock MB, unsigned SectionID)
193 : Name(std::string(Name)), MB(std::move(MB)), SectionID(SectionID) {}
196 unsigned SectionID = ~0U;
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));
    [all...]
  /src/external/apache2/llvm/dist/llvm/lib/Object/
SymbolSize.cpp 19 // Orders increasingly by (SectionID, Address).
21 if (A->SectionID != B->SectionID)
22 return A->SectionID < B->SectionID ? -1 : 1;
  /src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/
SectionMemoryManager.h 118 unsigned SectionID,
127 unsigned SectionID, StringRef SectionName,
RuntimeDyld.h 62 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;
  /src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/
ExecutionEngineBindings.cpp 341 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,

Completed in 41 milliseconds

1 2