Skip to content
Commit 83a68988 authored by Alexander Potapenko's avatar Alexander Potapenko
Browse files

Handle two-byte short jumps in the relocated code.

After the instructions are moved to the branch island, fixupInstructions() expands every 2-byte ja/je instruction with a 1-byte offset into a 6-byte ja/je with 32-bit offset. The offset is fixed to point to the original function.

llvm-svn: 153249
parent 4c89b14c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment