[all-commits] [llvm/llvm-project] e09f6f: [BOLT] Add test case triggering JT assertion
Rafael Auler via All-commits
all-commits at lists.llvm.org
Wed Jan 11 16:50:56 PST 2023
Branch: refs/heads/main
Home: https://github.com/llvm/llvm-project
Commit: e09f6f41cae839163a877c803044d4e77318e9a4
https://github.com/llvm/llvm-project/commit/e09f6f41cae839163a877c803044d4e77318e9a4
Author: Rafael Auler <rafaelauler at fb.com>
Date: 2023-01-11 (Wed, 11 Jan 2023)
Changed paths:
A bolt/test/X86/jt-symbol-disambiguation-3.s
Log Message:
-----------
[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
More information about the All-commits
mailing list