[all-commits] [llvm/llvm-project] 6957c0: [RuntimeDyld][ELF][AArch64] Fix resolveAArch64Shor...
Alastair Houghton via All-commits
all-commits at lists.llvm.org
Wed May 29 01:27:51 PDT 2024
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: 6957c00a8ccd36d990ebeb3b672621ba237bd9d8
https://github.com/llvm/llvm-project/commit/6957c00a8ccd36d990ebeb3b672621ba237bd9d8
Author: Alastair Houghton <ahoughton at apple.com>
Date: 2024-05-29 (Wed, 29 May 2024)
Changed paths:
M llvm/lib/ExecutionEngine/RuntimeDyld/RuntimeDyldELF.cpp
A llvm/test/ExecutionEngine/RuntimeDyld/AArch64/ELF_ARM64_xsec_branch.s
Log Message:
-----------
[RuntimeDyld][ELF][AArch64] Fix resolveAArch64ShortBranch. (#92245)
We don't know the load addresses when this function is called, so it
shouldn't be trying to use them to determine whether or not the branch
is short. Notably, this will fail in the case where the code is being
loaded into a target in such a way that the section offsets differ
between the process generating the code and the target process.
rdar://127673408
To unsubscribe from these emails, change your notification settings at https://github.com/llvm/llvm-project/settings/notifications
More information about the All-commits
mailing list