[BOLT] Add invalid offset for a JT entry pointing to a fragment
Summary: In a jump table identification, register an invalid offset for jump table entries pointing to function fragments. These invalid offsets have no effect other than padding the jump table size, calculated as `max(OffsetEntries, Entries)`. Correct jump table size is required in strict mode (enabled by default in aggregation mode by `perf2bolt`) in accounting of all PC-relative relocations in data. Functions containing these jump tables with invalid offsets are marked to be ignored immediately afterwards in `populateJumpTables`. (cherry picked from FBD24897464)
Loading
Please register or sign in to comment