llvm-project/bolt/test/runtime
Rafael Auler 4f158995b9 [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
2022-10-12 18:39:50 -07:00
..
AArch64 [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
Inputs [BOLT][TEST] Move exceptions-instrumentation.test to X86 2022-01-12 09:25:12 -08:00
X86 [BOLT] Add pass to fix ambiguous memory references 2022-10-12 18:39:50 -07:00
exceptions-no-pie.cpp [BOLT] Preserve original LSDA type encoding 2022-09-14 16:33:47 +00:00
fptr.test [BOLT][TEST] Update fptr.test 2022-07-25 22:00:46 -07:00
iplt.c [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
lit.local.cfg [BOLT][TEST] Add instrumentation test using merge-fdata 2021-11-03 10:41:26 -07:00
meta-merge-fdata.test [BOLT] Mark option values of --split-functions deprecated 2022-06-24 17:01:13 -07:00
plt-gnu-ld.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
plt-lld.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00