Skip to content
Commit c8a92769 authored by Maksim Panchenko's avatar Maksim Panchenko
Browse files

[BOLT] Detect internal references into a middle of instruction

Summary:
Some instructions in assembly-written functions could reference 8-byte
constants from another instructions using 4-byte offsets, presumably to
save a couple of bytes.

Detect such cases, and skip processing such functions until we teach
BOLT how to handle references into a middle of instruction.

(cherry picked from FBD14768212)
parent 7fd48706
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment