Home
last modified time | relevance | path

Searched refs:FixupAddress (Results 1 – 11 of 11) sorted by relevance

/llvm-project-15.0.7/llvm/lib/ExecutionEngine/JITLink/
H A DELF_riscv.cpp190 orc::ExecutorAddr FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() local
207 return makeAlignmentError(FixupAddress, Value, 2, E); in applyFixup()
221 return makeAlignmentError(FixupAddress, Value, 2, E); in applyFixup()
307 FixupAddress.getValue())) + in applyFixup()
316 FixupAddress.getValue())) + in applyFixup()
325 FixupAddress.getValue())) + in applyFixup()
342 FixupAddress.getValue())) - in applyFixup()
349 FixupAddress.getValue())) - in applyFixup()
356 FixupAddress.getValue())) - in applyFixup()
363 *(reinterpret_cast<const uint8_t *>(FixupAddress.getValue())) - in applyFixup()
[all …]
H A DMachO_x86_64.cpp122 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 DMachO_arm64.cpp131 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()
453 Edge GE(Kind, FixupAddress - BlockToFix->getAddress(), *TargetSymbol, in addRelocations()
[all …]
H A DCOFF_x86_64.cpp87 orc::ExecutorAddr FixupAddress = in addSingleRelocation() local
89 Edge::OffsetT Offset = FixupAddress - BlockToFix.getAddress(); in addSingleRelocation()
H A DELF_aarch64.cpp165 orc::ExecutorAddr FixupAddress = in addSingleRelocation() local
167 Edge::OffsetT Offset = FixupAddress - BlockToFix.getAddress(); in addSingleRelocation()
171 (FixupAddress - BlockToFix.getAddress()); in addSingleRelocation()
H A DELF_x86_64.cpp241 auto FixupAddress = orc::ExecutorAddr(FixupSection.sh_addr) + Rel.r_offset; in addSingleRelocation() local
242 Edge::OffsetT Offset = FixupAddress - BlockToFix.getAddress(); in addSingleRelocation()
/llvm-project-15.0.7/llvm/include/llvm/ExecutionEngine/JITLink/
H A Daarch64.h103 orc::ExecutorAddr FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() local
107 assert((FixupAddress.getValue() & 0x3) == 0 && in applyFixup()
110 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
147 FixupAddress.getValue() & ~static_cast<uint64_t>(4096 - 1); in applyFixup()
192 assert((FixupAddress.getValue() & 0x3) == 0 && "LDR is not 32-bit aligned"); in applyFixup()
196 int64_t Delta = E.getTarget().getAddress() - FixupAddress; in applyFixup()
214 Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
216 Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
H A Dx86_64.h391 auto FixupAddress = B.getAddress() + E.getOffset(); in applyFixup() local
426 E.getTarget().getAddress() - (FixupAddress + 4) + E.getAddend(); in applyFixup()
435 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
441 int64_t Value = E.getTarget().getAddress() - FixupAddress + E.getAddend(); in applyFixup()
450 int64_t Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
456 int64_t Value = FixupAddress - E.getTarget().getAddress() + E.getAddend(); in applyFixup()
/llvm-project-15.0.7/llvm/lib/Target/X86/MCTargetDesc/
H A DX86MachObjectWriter.cpp113 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()
/llvm-project-15.0.7/lldb/source/Plugins/SymbolFile/DWARF/
H A DSymbolFileDWARF.h473 lldb::addr_t FixupAddress(lldb::addr_t file_addr);
475 bool FixupAddress(lldb_private::Address &addr);
H A DSymbolFileDWARF.cpp859 if (!FixupAddress(func_range.GetBaseAddress())) in ParseFunction()
865 lldb::addr_t SymbolFileDWARF::FixupAddress(lldb::addr_t file_addr) { in FixupAddress() function in SymbolFileDWARF
872 bool SymbolFileDWARF::FixupAddress(Address &addr) { in FixupAddress() function in SymbolFileDWARF
2024 if (FixupAddress(exe_so_addr)) { in ResolveSymbolContext()
3924 caller_address = FixupAddress(caller_address); in CollectCallEdges()