Unverified Commit 6957c00a authored by Alastair Houghton's avatar Alastair Houghton Committed by GitHub
Browse files

[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
parent 326f58d7
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment