| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/ |
| H A D | RuntimeDyldELF.cpp | 635 Rel.SectionID = 0; in findPPC64TOCSection() 651 Rel.SectionID = *SectionIDOrErr; in findPPC64TOCSection() 735 Rel.SectionID = *SectionIDOrErr; in findOPDEntrySection() 994 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 996 RE.SymOffset, RE.SectionID); in resolveRelocation() 1002 uint64_t SymOffset, SID SectionID) { in resolveRelocation() argument 1042 void *RuntimeDyldELF::computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const { in computePlaceholderAddress() argument 1043 return (void *)(Sections[SectionID].getObjAddress() + Offset); in computePlaceholderAddress() 1046 void RuntimeDyldELF::processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType,… in processSimpleRelocation() argument 1047 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, Value.Offset); in processSimpleRelocation() [all …]
|
| H A D | RuntimeDyldImpl.h | 120 unsigned SectionID; 154 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 159 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 165 : SectionID(id), Offset(offset), RelType(type), Addend(addend), in RelocationEntry() 171 : SectionID(id), Offset(offset), RelType(type), in RelocationEntry() 182 : SectionID(id), Offset(offset), RelType(type), in RelocationEntry() 192 unsigned SectionID = 0; 199 return SectionID == Other.SectionID && Offset == Other.Offset && 204 if (SectionID != Other.SectionID) 205 return SectionID < Other.SectionID; [all …]
|
| H A D | RuntimeDyld.cpp | 305 unsigned SectionID = AbsoluteSymbolSection; in loadObjectImpl() local 308 << " SID: " << SectionID in loadObjectImpl() 313 SymbolTableEntry(SectionID, Addr, *JITSymFlags); in loadObjectImpl() 334 unsigned SectionID; in loadObjectImpl() local 337 SectionID = *SectionIDOrErr; in loadObjectImpl() 342 << " SID: " << SectionID in loadObjectImpl() 347 SymbolTableEntry(SectionID, SectOffset, *JITSymFlags); in loadObjectImpl() 377 unsigned SectionID = 0; in loadObjectImpl() local 380 SectionID = *SectionIDOrErr; in loadObjectImpl() 384 LLVM_DEBUG(dbgs() << "\tSectionID: " << SectionID << "\n"); in loadObjectImpl() [all …]
|
| H A D | 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]; } in getSection() argument 113 void resolveGOTOffsetRelocation(unsigned SectionID, uint64_t Offset, 122 void *computePlaceholderAddress(unsigned SectionID, uint64_t Offset) const; 126 …void processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValu… 178 processRelocationRef(unsigned SectionID, relocation_iterator RelI,
|
| H A D | RuntimeDyldMachO.h | 29 unsigned SectionID; member 64 RelocationEntry getRelocationEntry(unsigned SectionID, in getRelocationEntry() argument 78 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size); in getRelocationEntry() 83 processScatteredVANILLA(unsigned SectionID, relocation_iterator RelI, 132 SectionEntry &getSection(unsigned SectionID) { return Sections[SectionID]; } in getSection() argument
|
| H A D | RuntimeDyldCOFF.cpp | 82 uint64_t RuntimeDyldCOFF::getDLLImportOffset(unsigned SectionID, StubMap &Stubs, in getDLLImportOffset() argument 95 assert(SectionID < Sections.size() && "SectionID out of range"); in getDLLImportOffset() 96 auto &Sec = Sections[SectionID]; in getDLLImportOffset() 101 RelocationEntry RE(SectionID, EntryOffset, PointerReloc, 0, false, in getDLLImportOffset()
|
| H A D | RuntimeDyldMachO.cpp | 48 uint8_t *Src = Sections[RE.SectionID].getAddress() + RE.Offset; in memcpyAddend() 55 unsigned SectionID, relocation_iterator RelI, in processScatteredVANILLA() argument 64 SectionEntry &Section = Sections[SectionID]; in processScatteredVANILLA() 87 RelocationEntry R(SectionID, Offset, RelocType, Addend, IsPCRel, Size); in processScatteredVANILLA() 119 Value.SectionID = SymInfo.getSectionID(); in getRelocationValueRef() 130 Value.SectionID = *SectionIDOrErr; in getRelocationValueRef() 150 const SectionEntry &Section = Sections[RE.SectionID]; in dumpRelocationToResolve() 154 dbgs() << "resolveRelocation Section: " << RE.SectionID in dumpRelocationToResolve()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
| H A D | RuntimeDyldCOFFThumb.h | 60 processRelocationRef(unsigned SectionID, in processRelocationRef() argument 84 SectionEntry &AddendSection = Sections[SectionID]; in processRelocationRef() 102 LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset in processRelocationRef() 111 TargetSectionID = SectionID; in processRelocationRef() 112 TargetOffset = getDLLImportOffset(SectionID, Stubs, TargetName, true); in processRelocationRef() 126 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); in processRelocationRef() 141 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 148 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 161 RelocationEntry(SectionID, Offset, RelType, TargetOffset + Addend); in processRelocationRef() 167 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() [all …]
|
| H A D | RuntimeDyldCOFFX86_64.h | 88 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 144 generateRelocationStub(unsigned SectionID, StringRef TargetName, in generateRelocationStub() argument 148 SectionEntry &Section = Sections[SectionID]; in generateRelocationStub() 151 OriginalRelValueRef.SectionID = SectionID; in generateRelocationStub() 178 const RelocationEntry RE(SectionID, Offset, RelType, Addend); in generateRelocationStub() 190 processRelocationRef(unsigned SectionID, in processRelocationRef() argument 211 SectionEntry &Section = Sections[SectionID]; in processRelocationRef() 224 TargetSectionID = SectionID; in processRelocationRef() 225 TargetOffset = getDLLImportOffset(SectionID, Stubs, TargetName); in processRelocationRef() 251 SectionID, TargetName, Offset, RelType, Addend, Stubs); in processRelocationRef() [all …]
|
| H A D | RuntimeDyldCOFFAArch64.h | 100 generateRelocationStub(unsigned SectionID, StringRef TargetName, in generateRelocationStub() argument 104 SectionEntry &Section = Sections[SectionID]; in generateRelocationStub() 107 OriginalRelValueRef.SectionID = SectionID; in generateRelocationStub() 128 const RelocationEntry RE(SectionID, Offset, RelType, Addend); in generateRelocationStub() 142 processRelocationRef(unsigned SectionID, object::relocation_iterator RelI, in processRelocationRef() argument 169 SectionEntry &AddendSection = Sections[SectionID]; in processRelocationRef() 177 TargetSectionID = SectionID; in processRelocationRef() 178 TargetOffset = getDLLImportOffset(SectionID, Stubs, TargetName); in processRelocationRef() 204 SectionID, TargetName, Offset, RelType, Addend, Stubs); in processRelocationRef() 241 LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset in processRelocationRef() [all …]
|
| H A D | RuntimeDyldCOFFI386.h | 37 processRelocationRef(unsigned SectionID, in processRelocationRef() argument 64 TargetSectionID = SectionID; in processRelocationRef() 65 TargetOffset = getDLLImportOffset(SectionID, Stubs, TargetName, true); in processRelocationRef() 80 SectionEntry &AddendSection = Sections[SectionID]; in processRelocationRef() 100 LLVM_DEBUG(dbgs() << "\t\tIn Section " << SectionID << " Offset " << Offset in processRelocationRef() 105 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); in processRelocationRef() 117 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, in processRelocationRef() 130 RelocationEntry(SectionID, Offset, RelType, TargetOffset + Addend); in processRelocationRef() 143 const auto Section = Sections[RE.SectionID]; in resolveRelocation() 201 assert(static_cast<uint32_t>(RE.SectionID) <= UINT16_MAX && in resolveRelocation() [all …]
|
| H A D | RuntimeDyldELFMips.cpp | 16 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 21 RE.SymOffset, RE.SectionID); in resolveRelocation() 24 RE.SymOffset, RE.SectionID); in resolveRelocation() 33 const SectionEntry &Section = Sections[RE.SectionID]; in evaluateRelocation() 35 Addend, RE.SymOffset, RE.SectionID); in evaluateRelocation() 44 const SectionEntry &Section = Sections[RE.SectionID]; in applyRelocation() 110 int64_t Addend, uint64_t SymOffset, SID SectionID) { in evaluateMIPS64Relocation() argument 120 << " SID: " << format("%d", SectionID) in evaluateMIPS64Relocation() 136 uint64_t GOTAddr = getSectionLoadAddress(SectionToGOTMap[SectionID]); in evaluateMIPS64Relocation() 154 getSectionAddress(SectionToGOTMap[SectionID]) + SymOffset; in evaluateMIPS64Relocation() [all …]
|
| H A D | RuntimeDyldMachOARM.h | 51 bool isAddrTargetThumb(unsigned SectionID, uint64_t Offset) { in isAddrTargetThumb() argument 52 auto TargetObjAddr = Sections[SectionID].getObjAddress() + Offset; in isAddrTargetThumb() 64 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend() 101 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument 135 return processHALFSECTDIFFRelocation(SectionID, RelI, Obj, in processRelocationRef() 138 return processScatteredVANILLA(SectionID, RelI, Obj, ObjSectionToID, in processRelocationRef() 160 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef() 187 RE.IsTargetThumbFunc = isAddrTargetThumb(Value.SectionID, Value.Offset); in processRelocationRef() 197 addRelocationForSection(RE, Value.SectionID); in processRelocationRef() 205 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() [all …]
|
| H A D | RuntimeDyldMachOX86_64.h | 34 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument 45 return processSubtractRelocation(SectionID, RelI, Obj, ObjSectionToID); in processRelocationRef() 50 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef() 80 addRelocationForSection(RE, Value.SectionID); in processRelocationRef() 88 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 123 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument 131 SectionEntry &Section = Sections[RE.SectionID]; in processGOTRelocation() 142 RelocationEntry GOTRE(RE.SectionID, Section.getStubOffset(), in processGOTRelocation() 148 addRelocationForSection(GOTRE, Value.SectionID); in processGOTRelocation() 152 RelocationEntry TargetRE(RE.SectionID, RE.Offset, in processGOTRelocation() [all …]
|
| H A D | RuntimeDyldMachOI386.h | 34 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument 47 return processSECTDIFFRelocation(SectionID, RelI, Obj, in processRelocationRef() 50 return processScatteredVANILLA(SectionID, RelI, Obj, ObjSectionToID); in processRelocationRef() 67 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef() 93 addRelocationForSection(RE, Value.SectionID); in processRelocationRef() 101 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 128 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument 137 return populateJumpTable(cast<MachOObjectFile>(Obj), Section, SectionID); in finalizeSection() 140 Section, SectionID); in finalizeSection() 146 processSECTDIFFRelocation(unsigned SectionID, relocation_iterator RelI, in processSECTDIFFRelocation() argument [all …]
|
| H A D | RuntimeDyldMachOAArch64.h | 35 const SectionEntry &Section = Sections[RE.SectionID]; in decodeAddend() 273 processRelocationRef(unsigned SectionID, relocation_iterator RelI, in processRelocationRef() argument 303 return processSubtractRelocation(SectionID, RelI, Obj, ObjSectionToID); in processRelocationRef() 305 RelocationEntry RE(getRelocationEntry(SectionID, Obj, RelI)); in processRelocationRef() 349 addRelocationForSection(RE, Value.SectionID); in processRelocationRef() 358 const SectionEntry &Section = Sections[RE.SectionID]; in resolveRelocation() 436 Error finalizeSection(const ObjectFile &Obj, unsigned SectionID, in finalizeSection() argument 447 SectionEntry &Section = Sections[RE.SectionID]; in processGOTRelocation() 464 RelocationEntry GOTRE(RE.SectionID, StubOffset, in processGOTRelocation() 470 addRelocationForSection(GOTRE, Value.SectionID); in processGOTRelocation() [all …]
|
| H A D | RuntimeDyldELFMips.h | 35 uint64_t SymOffset, SID SectionID); 38 uint64_t SymOffset, SID SectionID); 57 uint64_t SymOffset, SID SectionID);
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/llvm-rtdyld/ |
| H A D | llvm-rtdyld.cpp | 192 SectionInfo(StringRef Name, sys::MemoryBlock MB, unsigned SectionID) in SectionInfo() 193 : Name(std::string(Name)), MB(std::move(MB)), SectionID(SectionID) {} in SectionInfo() 196 unsigned SectionID = ~0U; member 203 unsigned SectionID, 206 unsigned SectionID, StringRef SectionName, 262 StringRef SectionName, unsigned SectionID) { in allocateFromSlab() argument 270 FunctionMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateFromSlab() 272 DataMemory.push_back(SectionInfo(SectionName, MB, SectionID)); in allocateFromSlab() 288 unsigned SectionID, in allocateCodeSection() argument 295 (*SecIDMap)[SectionName] = SectionID; in allocateCodeSection() [all …]
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/ExecutionEngine/ |
| H A D | RuntimeDyld.h | 62 void reassignSectionAddress(unsigned SectionID, uint64_t Addr); 66 unsigned SectionID, uint32_t StubOffset)>; 104 unsigned SectionID, 111 unsigned SectionID, 217 StringRef getSectionContent(unsigned SectionID) const; 221 uint64_t getSectionLoadAddress(unsigned SectionID) const;
|
| H A D | SectionMemoryManager.h | 118 unsigned SectionID, 127 unsigned SectionID, StringRef SectionName,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/tools/lli/ |
| H A D | RemoteJITUtils.h | 44 unsigned SectionID, in allocateCodeSection() argument 46 return MemMgr->allocateCodeSection(Size, Alignment, SectionID, SectionName); in allocateCodeSection() 50 unsigned SectionID, StringRef SectionName, in allocateDataSection() argument 52 return MemMgr->allocateDataSection(Size, Alignment, SectionID, SectionName, in allocateDataSection()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/Object/ |
| H A D | SymbolSize.cpp | 21 if (A->SectionID != B->SectionID) in compareAddress() 22 return A->SectionID < B->SectionID ? -1 : 1; in compareAddress()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/ |
| H A D | ExecutionEngineBindings.cpp | 341 unsigned SectionID, 345 unsigned SectionID, StringRef SectionName, 374 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateCodeSection() argument 376 return Functions.AllocateCodeSection(Opaque, Size, Alignment, SectionID, in allocateCodeSection() 381 uintptr_t Size, unsigned Alignment, unsigned SectionID, in allocateDataSection() argument 383 return Functions.AllocateDataSection(Opaque, Size, Alignment, SectionID, in allocateDataSection()
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm-c/ |
| H A D | ExecutionEngine.h | 160 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID, 163 void *Opaque, uintptr_t Size, unsigned Alignment, unsigned SectionID,
|
| /netbsd-src/external/apache2/llvm/dist/llvm/include/llvm/Object/ |
| H A D | SymbolSize.h | 22 unsigned SectionID; member
|