Home
last modified time | relevance | path

Searched refs:LocalAddress (Results 1 – 16 of 16) sorted by relevance

/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/Targets/
H A DRuntimeDyldMachOAArch64.h36 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend() local
71 assert((((uintptr_t)LocalAddress & 0x3) == 0) && in decodeAddend()
83 Addend = *reinterpret_cast<support::ulittle32_t *>(LocalAddress); in decodeAddend()
85 Addend = *reinterpret_cast<support::ulittle64_t *>(LocalAddress); in decodeAddend()
89 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend()
104 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend()
117 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend()
126 auto *p = reinterpret_cast<support::aligned_ulittle32_t *>(LocalAddress); in decodeAddend()
155 void encodeAddend(uint8_t *LocalAddress, unsigned NumBytes, in encodeAddend() argument
171 assert((((uintptr_t)LocalAddress & 0x3) == 0) && in encodeAddend()
[all …]
H A DRuntimeDyldMachOARM.h64 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in decodeAddend() local
70 uint32_t Temp = readBytesUnaligned(LocalAddress, 4); in decodeAddend()
81 uint16_t HighInsn = readBytesUnaligned(LocalAddress, 2); in decodeAddend()
87 uint16_t LowInsn = readBytesUnaligned(LocalAddress + 2, 2); in decodeAddend()
205 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in resolveRelocation() local
220 uint16_t HighInsn = readBytesUnaligned(LocalAddress, 2); in resolveRelocation()
225 uint16_t LowInsn = readBytesUnaligned(LocalAddress + 2, 2); in resolveRelocation()
230 writeBytesUnaligned(HighInsn, LocalAddress, 2); in resolveRelocation()
231 writeBytesUnaligned(LowInsn, LocalAddress + 2, 2); in resolveRelocation()
238 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
[all …]
H A DRuntimeDyldMachOX86_64.h88 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in resolveRelocation() local
108 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
116 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
167 uint8_t *LocalAddress = Sections[SectionID].getAddressWithOffset(Offset); in processSubtractRelocation() local
170 SignExtend64(readBytesUnaligned(LocalAddress, NumBytes), NumBytes * 8); in processSubtractRelocation()
H A DRuntimeDyldMachOI386.h101 uint8_t *LocalAddress = Section.getAddressWithOffset(RE.Offset); in resolveRelocation() local
110 writeBytesUnaligned(Value + RE.Addend, LocalAddress, 1 << RE.Size); in resolveRelocation()
119 writeBytesUnaligned(Value, LocalAddress, 1 << RE.Size); in resolveRelocation()
158 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); in processSECTDIFFRelocation() local
160 uint64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); in processSECTDIFFRelocation()
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/RuntimeDyld/
H A DRuntimeDyldELF.cpp814 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); in resolvePPC32Relocation() local
820 writeInt16BE(LocalAddress, applyPPClo(Value + Addend)); in resolvePPC32Relocation()
823 writeInt16BE(LocalAddress, applyPPChi(Value + Addend)); in resolvePPC32Relocation()
826 writeInt16BE(LocalAddress, applyPPCha(Value + Addend)); in resolvePPC32Relocation()
834 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); in resolvePPC64Relocation() local
840 writeInt16BE(LocalAddress, applyPPClo(Value + Addend)); in resolvePPC64Relocation()
843 writeInt16BE(LocalAddress, applyPPClo(Value + Addend) & ~3); in resolvePPC64Relocation()
846 writeInt16BE(LocalAddress, applyPPClo(Value + Addend)); in resolvePPC64Relocation()
849 writeInt16BE(LocalAddress, applyPPClo(Value + Addend) & ~3); in resolvePPC64Relocation()
853 writeInt16BE(LocalAddress, applyPPChi(Value + Addend)); in resolvePPC64Relocation()
[all …]
H A DRuntimeDyldMachO.cpp69 uint8_t *LocalAddress = Section.getAddressWithOffset(Offset); in processScatteredVANILLA() local
71 int64_t Addend = readBytesUnaligned(LocalAddress, NumBytes); in processScatteredVANILLA()
151 uint8_t *LocalAddress = Section.getAddress() + RE.Offset; in dumpRelocationToResolve() local
155 << " LocalAddress: " << format("%p", LocalAddress) in dumpRelocationToResolve()
H A DRuntimeDyld.cpp160 void RuntimeDyldImpl::mapSectionAddress(const void *LocalAddress, in mapSectionAddress() argument
164 if (Sections[i].getAddress() == LocalAddress) { in mapSectionAddress()
1403 void RuntimeDyld::mapSectionAddress(const void *LocalAddress, in mapSectionAddress() argument
1405 Dyld->mapSectionAddress(LocalAddress, TargetAddress); in mapSectionAddress()
H A DRuntimeDyldChecker.cpp909 bool LocalAddress) { in getSectionAddr() argument
910 return Impl->getSectionAddr(FileName, SectionName, LocalAddress); in getSectionAddr()
H A DRuntimeDyldImpl.h559 void mapSectionAddress(const void *LocalAddress, uint64_t TargetAddress);
/openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/
H A DRuntimeDyldChecker.h172 bool LocalAddress);
176 std::optional<uint64_t> getSectionLoadAddress(void *LocalAddress) const;
H A DRuntimeDyld.h227 void mapSectionAddress(const void *LocalAddress, uint64_t TargetAddress);
H A DExecutionEngine.h244 virtual void mapSectionAddress(const void *LocalAddress, in mapSectionAddress() argument
/openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/MCJIT/
H A DMCJIT.h272 void mapSectionAddress(const void *LocalAddress, in mapSectionAddress() argument
274 Dyld.mapSectionAddress(LocalAddress, TargetAddress); in mapSectionAddress()
/openbsd-src/regress/usr.bin/ssh/
H A Daddrmatch.sh29 Match LocalAddress 127.0.0.1,::1
/openbsd-src/gnu/llvm/clang/lib/CodeGen/
H A DCGBlocks.h274 Address LocalAddress; variable
H A DCGBlocks.cpp39 LocalAddress(Address::invalid()), StructureType(nullptr), Block(block) { in CGBlockInfo()
796 blockInfo.LocalAddress = CreateTempAlloca(blockInfo.StructureType, in EmitBlockLiteral()
822 Address blockAddr = blockInfo.LocalAddress; in EmitBlockLiteral()