/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/ |
H A D | RuntimeDyldCOFFX86_64.h | 91 switch (RE.RelType) { 102 uint64_t Delta = 4 + (RE.RelType - COFF::IMAGE_REL_AMD64_REL32); 145 uint64_t Offset, uint64_t RelType, uint64_t Addend, 171 // FIXME: If RelType == COFF::IMAGE_REL_AMD64_ADDR32NB we should be able 178 const RelocationEntry RE(SectionID, Offset, RelType, Addend); 184 RelType = COFF::IMAGE_REL_AMD64_ADDR64; 186 return std::make_tuple(Offset, RelType, Addend); 208 uint64_t RelType = RelI->getType(); variable 237 switch (RelType) { 250 std::tie(Offset, RelType, Adden 144 generateRelocationStub(unsigned SectionID, StringRef TargetName, uint64_t Offset, uint64_t RelType, uint64_t Addend, StubMap &Stubs) argument [all...] |
H A D | RuntimeDyldMachOARM.h | 67 switch (RE.RelType) { 109 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); variable 134 if (RelType == MachO::ARM_RELOC_HALF_SECTDIFF) 137 else if (RelType == MachO::GENERIC_RELOC_VANILLA) 145 switch (RelType) { 153 if (RelType > MachO::ARM_RELOC_HALF_SECTDIFF) 155 Twine(RelType) + 176 if (RE.RelType == MachO::ARM_THUMB_RELOC_BR22) 181 (RE.RelType == MachO::ARM_THUMB_RELOC_BR22) ? 4 : 8); 185 if (!Value.SymbolName && (RelType [all...] |
H A D | RuntimeDyldCOFFThumb.h | 79 uint64_t RelType = RelI->getType(); variable 88 switch (RelType) { 103 << " RelType: " << RelTypeName << " TargetName: " 121 if (RelType != COFF::IMAGE_REL_ARM_SECTION) 126 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); 134 switch (RelType) { 141 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, 148 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, 155 RelocationEntry(TargetSectionID, Offset, RelType, 0); 161 RelocationEntry(SectionID, Offset, RelType, TargetOffse [all...] |
H A D | RuntimeDyldCOFFI386.h | 58 uint64_t RelType = RelI->getType(); variable 74 if (RelType != COFF::IMAGE_REL_I386_SECTION) 84 switch (RelType) { 101 << " RelType: " << RelTypeName << " TargetName: " 105 RelocationEntry RE(SectionID, Offset, RelType, 0, -1, 0, 0, 0, false, 0); 109 switch (RelType) { 117 RelocationEntry(SectionID, Offset, RelType, Addend, TargetSectionID, 124 RelocationEntry(TargetSectionID, Offset, RelType, 0); 130 RelocationEntry(SectionID, Offset, RelType, TargetOffset + Addend); 146 switch (RE.RelType) { [all...] |
H A D | RuntimeDyldMachOAArch64.h | 40 switch (RE.RelType) { 46 << getRelocName(RE.RelType); 58 << getRelocName(RE.RelType); 76 switch (RE.RelType) { 156 MachO::RelocationInfoType RelType, int64_t Addend) const { 158 switch (RelType) { 176 switch (RelType) { 307 if (RE.RelType == MachO::ARM64_RELOC_POINTER_TO_GOT) { 333 if (RE.RelType == MachO::ARM64_RELOC_POINTER_TO_GOT) { 341 if (RE.RelType 155 encodeAddend(uint8_t *LocalAddress, unsigned NumBytes, MachO::RelocationInfoType RelType, int64_t Addend) const argument 360 MachO::RelocationInfoType RelType = variable [all...] |
H A D | RuntimeDyldMachOX86_64.h | 42 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); variable 44 if (RelType == MachO::X86_64_RELOC_SUBTRACTOR) 62 switch (RelType) { 65 if (RelType > MachO::X86_64_RELOC_TLV) 67 Twine(RelType) + 72 if (RE.RelType == MachO::X86_64_RELOC_GOT || 73 RE.RelType == MachO::X86_64_RELOC_GOT_LOAD) 100 switch (RE.RelType) {
|
H A D | RuntimeDyldMachOI386.h | 42 uint32_t RelType = Obj.getAnyRelocationType(RelInfo); variable 45 if (RelType == MachO::GENERIC_RELOC_SECTDIFF || 46 RelType == MachO::GENERIC_RELOC_LOCAL_SECTDIFF) 49 else if (RelType == MachO::GENERIC_RELOC_VANILLA) 52 "type: " + Twine(RelType)).str()); 55 switch (RelType) { 60 if (RelType > MachO::GENERIC_RELOC_TLV) 62 Twine(RelType) + 109 switch (RE.RelType) {
|
H A D | RuntimeDyldELFMips.cpp | 18 resolveMIPSO32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend); 20 resolveMIPSN32Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, 23 resolveMIPSN64Relocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, 34 Value = evaluateMIPS64Relocation(Section, RE.Offset, Value, RE.RelType, 46 RE.RelType); 281 // RelType is used to keep information for which relocation type we are 283 uint32_t RelType = r_type; local 285 RelType, Addend, 288 RelType = r_type2; 289 CalculatedValue = evaluateMIPS64Relocation(Section, Offset, 0, RelType, [all...] |
H A D | RuntimeDyldCOFFAArch64.h | 101 uint64_t Offset, uint64_t RelType, uint64_t Addend, 128 const RelocationEntry RE(SectionID, Offset, RelType, Addend); 136 RelType = INTERNAL_REL_ARM64_LONG_BRANCH26; 138 return std::make_tuple(Offset, RelType, Addend); 161 uint64_t RelType = RelI->getType(); variable 191 switch (RelType) { 203 std::tie(Offset, RelType, Addend) = generateRelocationStub( 204 SectionID, TargetName, Offset, RelType, Addend, Stubs); 242 << " RelType: " << RelTypeName << " TargetName: " 247 RelocationEntry RE(SectionID, Offset, RelType, Adden 100 generateRelocationStub(unsigned SectionID, StringRef TargetName, uint64_t Offset, uint64_t RelType, uint64_t Addend, StubMap &Stubs) argument [all...] |
/netbsd-current/external/apache2/llvm/dist/llvm/lib/ExecutionEngine/RuntimeDyld/ |
H A D | RuntimeDyldELF.cpp | 995 return resolveRelocation(Section, RE.Offset, Value, RE.RelType, RE.Addend, 1046 void RuntimeDyldELF::processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValueRef Value) { argument 1047 RelocationEntry RE(SectionID, Offset, RelType, Value.Addend, Value.Offset); 1054 uint32_t RuntimeDyldELF::getMatchingLoRelocation(uint32_t RelType, argument 1056 switch (RelType) { 1128 unsigned RelType = RelI->getType(); local 1134 RelType, 0); 1169 RelType, 0); 1179 uint64_t RelType = RelI->getType(); local 1195 LLVM_DEBUG(dbgs() << "\t\tRelType: " << RelType << " Adden [all...] |
H A D | RuntimeDyldImpl.h | 39 #define UNIMPLEMENTED_RELOC(RelType) \ 40 case RelType: \ 41 return make_error<RuntimeDyldError>("Unimplemented relocation: " #RelType) 125 /// RelType - relocation type. 126 uint32_t RelType; 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(typ [all...] |
H A D | RuntimeDyldMachO.h | 75 MachO::RelocationInfoType RelType = local 78 return RelocationEntry(SectionID, Offset, RelType, 0, IsPCRel, Size);
|
H A D | RuntimeDyldELF.h | 126 void processSimpleRelocation(unsigned SectionID, uint64_t Offset, unsigned RelType, RelocationValueRef Value); 129 uint32_t getMatchingLoRelocation(uint32_t RelType,
|
H A D | RuntimeDyldMachO.cpp | 158 << " isPCRel: " << RE.IsPCRel << " MachoType: " << RE.RelType
|