llvm/bolt/test
Huan Nguyen 82095bd5ed [BOLT] Mark fragments related to split jump table as non-simple
Mark fragments related to split jump table as non-simple.

A function could be splitted into hot and cold fragments. A split jump table is
challenging for correctly reconstructing control flow graphs, so it was marked
as ignored. This update marks those fragments as non-simple, allowing them
to be printed and partial control flow graph construction.

Test Plan:
```
llvm-lit -a tools/bolt/test/X86/split-func-icf.s
```
This test has two functions (main, main2), each has a jump table target to the
same cold portion main2.cold.1(*2). We try to print out only this cold portion.
If it is ignored, it cannot be printed. If it is non-simple, it can be printed. We
verify that it can be printed.

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D127464
2022-06-10 15:49:32 -07:00
..
AArch64 [BOLT][AArch64] Handle data at the beginning of a function when disassembling and building CFG. 2022-06-09 15:26:32 -07:00
Inputs [BOLT][DWARF] Fix dwarf5-loclist-offset-form test 2022-06-09 10:54:09 -07:00
runtime [BOLT] Cache-Aware Tail Duplication 2022-06-03 09:08:45 -07:00
Unit Use lit_config.substitute instead of foo % lit_config.params everywhere 2022-03-16 09:57:41 +01:00
X86 [BOLT] Mark fragments related to split jump table as non-simple 2022-06-10 15:49:32 -07:00
bad-exe.test [BOLT][TEST] Fix testing on macos 2022-05-13 13:03:47 -07:00
bolt-icf.test
bolt-info.test [BOLT][TEST] Fix testing on macos 2022-05-13 13:03:47 -07:00
cache+-deprecated.test [BOLT][NFC] Warning for deprecated option '-reorder-blocks=cache+' 2022-06-03 14:16:55 -07:00
CMakeLists.txt [BOLT][DWARF] Fix TU Index handling for DWARF4/5 2022-06-01 18:16:12 -07:00
heatmap.test
invalid-profile.test [BOLT][TEST] Fix testing on macos 2022-05-13 13:03:47 -07:00
keep-aranges.test
link_fdata.py [BOLT] Fix LIT tests on Windows VS2019 2022-05-31 11:45:39 -07:00
lit.cfg.py [BOLT][DWARF] Fix TU Index handling for DWARF4/5 2022-06-01 18:16:12 -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][TEST] Fix testing on macos 2022-05-13 13:03:47 -07:00
non-empty-debug-line.test
pie.test [BOLT][TEST] Fix testing on macos 2022-05-13 13:03:47 -07:00
R_ABS.pic.lld.cpp [BOLT][TEST] Fix testing on macos 2022-05-13 13:03:47 -07:00
re-optimize.test [BOLT][TEST] Fix testing on macos 2022-05-13 13:03:47 -07:00
shared-object.test [BOLT][TEST] Fix testing on macos 2022-05-13 13:03:47 -07:00