diff options
author | Rafael Auler <rafaelauler@fb.com> | 2022-08-26 18:39:36 -0700 |
---|---|---|
committer | Rafael Auler <rafaelauler@fb.com> | 2022-10-12 18:39:50 -0700 |
commit | 4f158995b9cddae392bfb5989af8c83101ae0789 (patch) | |
tree | a4ca41bb99fc223675b25b3728f8804859a1e497 /llvm/lib/CodeGen/ModuloSchedule.cpp | |
parent | 8d1fc45dc377fe554e50a6bda19aa23c9957041f (diff) | |
download | llvm-4f158995b9cddae392bfb5989af8c83101ae0789.zip llvm-4f158995b9cddae392bfb5989af8c83101ae0789.tar.gz llvm-4f158995b9cddae392bfb5989af8c83101ae0789.tar.bz2 |
[BOLT] Add pass to fix ambiguous memory references
This adds a round of checks to memory references, looking for
incorrect references to jump table objects. Fix them by replacing the
jump table reference with another object reference + offset.
This solves bugs related to regular data references in code
accidentally being bound to a jump table, and this reference being
updated to a new (incorrect) location because we moved this jump
table.
Fixes #55004
Reviewed By: #bolt, maksfb
Differential Revision: https://reviews.llvm.org/D134098
Diffstat (limited to 'llvm/lib/CodeGen/ModuloSchedule.cpp')
0 files changed, 0 insertions, 0 deletions