[BOLT] Add test case triggering JT assertion
Current case that triggers BOLT assertion. Marked XFAIL. In this test case, we reproduce the behavior seen in gcc where the base address of a jump table is decremented by some number and ends up at the exact addess of a jump table from another function. After linking, the instruction references another jump table and that confuses BOLT. Reviewed By: #bolt, Amir Differential Revision: https://reviews.llvm.org/D138245
parent
c268f850
Please register or sign in to comment