Files
clang-p2996/bolt/lib/Passes/ValidateMemRefs.cpp
Maksim Panchenko c923d39509 [BOLT] Fix ValidateMemRefs pass (#94406)
In ValidateMemRefs pass, when we validate references in the form of
`Symbol + Addend`, we should check `Symbol` not `Symbol + Addend`
against aliasing a jump table.

Recommitting with a modified test case:
https://github.com/llvm/llvm-project/pull/88838

Co-authored-by: sinan <sinan.lin@linux.alibaba.com>
2024-06-04 16:12:29 -07:00

3.6 KiB