llvm-project/bolt/test
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][AArch64] Handle references to the middle of Constant Islands 2022-08-25 04:32:35 -04:00
Inputs [BOLT][DWARF] Fix dwarf5-loclist-offset-form test 2022-06-09 10:54:09 -07:00
Unit Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00
X86 [BOLT] Testcase to repro dyn reloc bug 2022-10-07 11:27:23 -07:00
runtime [BOLT] Add pass to fix ambiguous memory references 2022-10-12 18:39:50 -07:00
CMakeLists.txt Add BAT testing framework 2022-07-29 14:55:04 -07:00
R_ABS.pic.lld.cpp [BOLT] Restrict execution of tests that fail on Windows 2022-07-11 17:59:58 -07:00
bad-exe.test [BOLT] Restrict execution of tests that fail on Windows 2022-07-11 17:59:58 -07:00
bolt-icf.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
bolt-info.test [BOLT] Restrict execution of tests that fail on Windows 2022-07-11 17:59:58 -07:00
cache+-deprecated.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
heatmap.test [BOLT] Refactor heatmap to be standalone tool 2022-02-07 22:00:44 +03:00
invalid-profile.test [BOLT] Restrict execution of tests that fail on Windows 2022-07-11 17:59:58 -07:00
keep-aranges.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
link_fdata.py [BOLT] Fix LIT tests on Windows VS2019 2022-05-31 11:45:39 -07:00
lit.cfg.py Add BAT testing framework 2022-07-29 14:55:04 -07:00
lit.local.cfg [BOLT][TEST] Fix testing on macos 2022-05-13 13:03:47 -07:00
lit.site.cfg.py.in [BOLT] Fix plt relocations symbol match 2022-04-05 15:57:26 +03:00
no-relocs.test [BOLT] Restrict execution of tests that fail on Windows 2022-07-11 17:59:58 -07:00
non-empty-debug-line.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
pie.test [BOLT] Restrict execution of tests that fail on Windows 2022-07-11 17:59:58 -07:00
re-optimize.test [BOLT] Restrict execution of tests that fail on Windows 2022-07-11 17:59:58 -07:00
shared-object.test [BOLT] Restrict execution of tests that fail on Windows 2022-07-11 17:59:58 -07:00