| /openbsd-src/gnu/llvm/llvm/lib/ExecutionEngine/JITLink/ |
| H A D | ELF_riscv.cpp | 190 orc::ExecutorAddr FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() local 203 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 207 return makeAlignmentError(FixupAddress, Value, 2, E); in applyFixup() 218 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 222 return makeAlignmentError(FixupAddress, Value, 2, E); in applyFixup() 233 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 250 int64_t Value = E.getTarget().getAddress() + E.getAddend() - FixupAddress; in applyFixup() 325 *(reinterpret_cast<const uint8_t *>(FixupAddress.getValue())) + in applyFixup() 334 FixupAddress.getValue())) + in applyFixup() 343 FixupAddress.getValue())) + in applyFixup() [all …]
|
| H A D | MachO_x86_64.cpp | 122 const MachO::relocation_info &SubRI, orc::ExecutorAddr FixupAddress, in parsePairRelocation() argument 184 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress()); in parsePairRelocation() 190 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress()); in parsePairRelocation() 244 auto FixupAddress = SectionAddress + (uint32_t)RI.r_address; in addRelocations() local 254 auto SymbolToFixOrErr = findSymbolByAddress(*NSec, FixupAddress); in addRelocations() 260 if (FixupAddress + orc::ExecutorAddrDiff(1ULL << RI.r_length) > in addRelocations() 267 (FixupAddress - BlockToFix->getAddress()); in addRelocations() 269 size_t FixupOffset = FixupAddress - BlockToFix->getAddress(); in addRelocations() 370 orc::ExecutorAddr TargetAddress(FixupAddress + 4 + in addRelocations() 391 FixupAddress + Delta + *(const little32_t *)FixupContent; in addRelocations() [all …]
|
| H A D | MachO_arm64.cpp | 131 orc::ExecutorAddr FixupAddress, const char *FixupContent, in parsePairRelocation() argument 193 Addend = FixupValue + (FixupAddress - FromSymbol->getAddress()); in parsePairRelocation() 199 Addend = FixupValue - (FixupAddress - ToSymbol->getAddress()); in parsePairRelocation() 257 orc::ExecutorAddr FixupAddress = in addRelocations() local 267 auto SymbolToFixOrErr = findSymbolByAddress(*NSec, FixupAddress); in addRelocations() 273 if (FixupAddress + orc::ExecutorAddrDiff(1ULL << RI.r_length) > in addRelocations() 282 (FixupAddress - BlockToFix->getAddress()); in addRelocations() 296 formatv("{0:x16}", FixupAddress)); in addRelocations() 320 if (PairedFixupAddress != FixupAddress) in addRelocations() 439 FixupAddress, FixupContent, ++RelItr, RelEnd); in addRelocations() [all …]
|
| H A D | ELF_i386.cpp | 182 auto FixupAddress = orc::ExecutorAddr(FixupSection.sh_addr) + Rel.r_offset; in addSingleRelocation() local 188 (FixupAddress - BlockToFix.getAddress()); in addSingleRelocation() 196 Edge::OffsetT Offset = FixupAddress - BlockToFix.getAddress(); in addSingleRelocation()
|
| H A D | ELF_loongarch.cpp | 116 auto FixupAddress = orc::ExecutorAddr(FixupSect.sh_addr) + Rel.r_offset; in addSingleRelocation() local 117 Edge::OffsetT Offset = FixupAddress - BlockToFix.getAddress(); in addSingleRelocation()
|
| H A D | ELF_aarch64.cpp | 165 orc::ExecutorAddr FixupAddress = in addSingleRelocation() local 167 Edge::OffsetT Offset = FixupAddress - BlockToFix.getAddress(); in addSingleRelocation() 171 (FixupAddress - BlockToFix.getAddress()); in addSingleRelocation()
|
| H A D | COFF_x86_64.cpp | 90 orc::ExecutorAddr FixupAddress = in addSingleRelocation() local 92 Edge::OffsetT Offset = FixupAddress - BlockToFix.getAddress(); in addSingleRelocation()
|
| H A D | ELF_x86_64.cpp | 255 auto FixupAddress = orc::ExecutorAddr(FixupSection.sh_addr) + Rel.r_offset; in addSingleRelocation() local 256 Edge::OffsetT Offset = FixupAddress - BlockToFix.getAddress(); in addSingleRelocation()
|
| /openbsd-src/gnu/llvm/llvm/include/llvm/ExecutionEngine/JITLink/ |
| H A D | loongarch.h | 178 uint64_t FixupAddress = (B.getAddress() + E.getOffset()).getValue(); in applyFixup() local 194 int64_t Value = TargetAddress - FixupAddress + Addend; in applyFixup() 200 return makeAlignmentError(orc::ExecutorAddr(FixupAddress), Value, 4, E); in applyFixup() 210 int64_t Value = TargetAddress - FixupAddress + Addend; in applyFixup() 218 int64_t Value = FixupAddress - TargetAddress + Addend; in applyFixup() 225 *(little64_t *)FixupPtr = TargetAddress - FixupAddress + Addend; in applyFixup() 231 uint64_t PCPage = FixupAddress & ~static_cast<uint64_t>(0xfff); in applyFixup()
|
| H A D | aarch64.h | 348 orc::ExecutorAddr FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() local 369 Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 371 Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup() 383 assert((FixupAddress.getValue() & 0x3) == 0 && in applyFixup() 386 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 418 assert((FixupAddress.getValue() & 0x3) == 0 && "LDR is not 32-bit aligned"); in applyFixup() 422 int64_t Delta = E.getTarget().getAddress() - FixupAddress; in applyFixup() 439 FixupAddress.getValue() & ~static_cast<uint64_t>(4096 - 1); in applyFixup()
|
| H A D | x86_64.h | 402 auto FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() local 446 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup() 455 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 461 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup() 470 int64_t Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup() 476 int64_t Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
|
| H A D | i386.h | 152 auto FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() local 167 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup() 183 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup() 192 int32_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
|
| /openbsd-src/gnu/llvm/llvm/lib/Target/X86/MCTargetDesc/ |
| H A D | X86MachObjectWriter.cpp | 113 uint32_t FixupAddress = in RecordX86_64Relocation() local 250 Value -= FixupAddress + (1 << Log2Size); in RecordX86_64Relocation() 484 uint32_t FixupAddress = in recordTLVPRelocation() local 487 FixedValue = FixupAddress - in recordTLVPRelocation()
|
| /openbsd-src/gnu/llvm/lldb/source/Plugins/SymbolFile/DWARF/ |
| H A D | SymbolFileDWARF.h | 491 lldb::addr_t FixupAddress(lldb::addr_t file_addr); 493 bool FixupAddress(lldb_private::Address &addr);
|
| H A D | SymbolFileDWARF.cpp | 862 if (!FixupAddress(func_range.GetBaseAddress())) in ParseFunction() 894 lldb::addr_t SymbolFileDWARF::FixupAddress(lldb::addr_t file_addr) { in FixupAddress() function in SymbolFileDWARF 901 bool SymbolFileDWARF::FixupAddress(Address &addr) { in FixupAddress() function in SymbolFileDWARF 2069 if (FixupAddress(exe_so_addr)) { in ResolveSymbolContext() 4059 caller_address = FixupAddress(caller_address); in CollectCallEdges()
|