llvm-project/bolt/test/X86/Inputs
Rafael Auler 3698994492 [BOLT] Always move JTs in jump-table=move
We should always move jump tables when requested. Previously,
we were not moving jump tables of non-simple functions in relocation
mode. That caused a bug detailed in the attached test case: in PIC
jump tables, we force jump tables to be moved, but if they are not
moved because the function is not simple, we could incorrectly update
original entries in .rodata, corrupting it under special circumstances
(see testcase).

Reviewed By: #bolt, maksfb

Differential Revision: https://reviews.llvm.org/D137357
2022-11-04 13:20:11 -07:00
..
asm_main.c Speculatively fix build bots 2022-04-20 12:05:33 -04:00
avx512.s [BOLT][TEST] Fix testing on macos 2022-05-13 13:03:47 -07:00
bat_profile_1.fdata [BOLT] Fix merge-fdata handling of BAT profiles 2022-05-13 19:41:55 -07:00
bat_profile_2.fdata [BOLT] Fix merge-fdata handling of BAT profiles 2022-05-13 19:41:55 -07:00
blarge.fdata [BOLT][TEST] Imported small tests 2021-10-07 13:38:58 -07:00
blarge.yaml [BOLT][TESTS] Remove dynamic relocations from YAML tests 2021-06-30 14:33:59 -07:00
broken_dynsym.yaml [BOLT] Handle broken .dynsym in stripped binaries 2022-07-22 11:24:09 -07:00
ctc_and_unreachable.s [BOLT][TEST] Import small tests 2021-10-29 13:31:22 -07:00
debug-fission-script.txt Rebase: [BOLT] DebugFission Support 2021-04-01 11:43:00 -07:00
debug-fission-simple.s Rebase: [BOLT] DebugFission Support 2021-04-01 11:43:00 -07:00
define_bar.s [BOLT] Testcase to repro dyn reloc bug 2022-10-07 11:27:23 -07:00
double_jump.cpp [BOLT] Add aarch64 support for peephole passes 2022-02-08 03:04:40 +03:00
dwarf4-df-dualcu-helper.s [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf4-df-dualcu-loclist-helper.s [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf4-df-dualcu-loclist-main.s [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf4-df-dualcu-main.s [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf4-ftypes-split-dwarf.s [BOLT][DWARF] Fix TU Index handling for DWARF4/5 2022-06-01 18:16:12 -07:00
dwarf4-split-dwarf-no-address-helper.s [BOLT][DWARF] Fix incorrect DW_AT_type offset for unittest 2022-07-18 14:20:22 -07:00
dwarf4-split-dwarf-no-address-main.s [BOLT][DWARF] Fix assert for split dwarf. 2022-05-08 19:18:17 -07:00
dwarf5-call-pc-function-null-check-helper.s [DWARF][BOLT] Handle getBinaryFunctionContainingAddress returning nullptr for DW_TAG_call_site 2022-08-17 16:04:34 -07:00
dwarf5-call-pc-function-null-check-main.s [DWARF][BOLT] Handle getBinaryFunctionContainingAddress returning nullptr for DW_TAG_call_site 2022-08-17 16:04:34 -07:00
dwarf5-call-pc-helper.s [BOLT][DWARF] Add support for DW_AT_call_pc/DW_AT_call_return_pc 2022-06-24 12:37:58 -07:00
dwarf5-call-pc-main.s [BOLT][DWARF] Add support for DW_AT_call_pc/DW_AT_call_return_pc 2022-06-24 12:37:58 -07:00
dwarf5-cu-no-debug-addr-helper.s [BOLT][DWARF] Fix updating CU that has no entry in .debug_addr 2022-08-25 17:03:11 -07:00
dwarf5-cu-no-debug-addr-main.s [BOLT][DWARF] Fix updating CU that has no entry in .debug_addr 2022-08-25 17:03:11 -07:00
dwarf5-df-dualcu-helper.s [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf5-df-dualcu-loclist-helper.s [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf5-df-dualcu-loclist-main.s [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf5-df-dualcu-main.s [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf5-df-mono-helper.s [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf5-df-mono-main.s [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf5-dwarf4-monolithic-helper0.s [BOLT][DWARF] Support mix mode DWARF 2022-06-30 16:53:15 -07:00
dwarf5-dwarf4-monolithic-helper1.s [BOLT][DWARF] Support mix mode DWARF 2022-06-30 16:53:15 -07:00
dwarf5-dwarf4-monolithic-helper2.s [BOLT][DWARF] Support mix mode DWARF 2022-06-30 16:53:15 -07:00
dwarf5-dwarf4-monolithic-main.s [BOLT][DWARF] Support mix mode DWARF 2022-06-30 16:53:15 -07:00
dwarf5-ftypes-split-dwarf.s [BOLT][DWARF] Fix TU Index handling for DWARF4/5 2022-06-01 18:16:12 -07:00
dwarf5-locaddrx.s [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf5-loclist-offset-form-helper.s [BOLT][DWARF] Fix incorrect DW_AT_type offset for unittest 2022-07-18 14:20:22 -07:00
dwarf5-loclist-offset-form-main.s [BOLT][DWARF] Fix incorrect DW_AT_type offset for unittest 2022-07-18 14:20:22 -07:00
dwarf5-return-pc-form-addr-main.s [BOLT][DWARF] Add support for DW_FORM_addr for DW_AT_call_return_pc 2022-10-19 10:44:09 -07:00
dwarf5-return-pc-helper.s [BOLT][DWARF] Add support for DW_AT_call_pc/DW_AT_call_return_pc 2022-06-24 12:37:58 -07:00
dwarf5-return-pc-main.s [BOLT][DWARF] Add support for DW_AT_call_pc/DW_AT_call_return_pc 2022-06-24 12:37:58 -07:00
dwarf5-split-dwarf4-monolithic-helper1.s [BOLT][DWARF] Support mix mode DWARF 2022-06-30 16:53:15 -07:00
dwarf5-split-dwarf4-monolithic-main.s [BOLT][DWARF] Support mix mode DWARF 2022-06-30 16:53:15 -07:00
dwarf5_helper.s [BOLT][DWARF] Implement monolithic DWARF5 2022-04-21 16:02:23 -07:00
dwarf5_main.s [BOLT][DWARF] Implement monolithic DWARF5 2022-04-21 16:02:23 -07:00
dwarfdump-gdbindex.s [BOLT][DWARF] Fix gdb index section 2022-01-27 12:07:58 -08:00
dwarfdump-gdbindex2.s [BOLT][DWARF] Fix gdb index section 2022-01-27 12:07:58 -08:00
entry.s [BOLT][TEST] Imported small tests 2021-10-08 13:39:24 -07:00
exc4sw.S [BOLT][TEST] Add section flags for .gcc_except_table 2022-02-04 09:48:22 -08:00
exc4sw.fdata [BOLT][TEST] Imported small tests 2021-10-08 18:23:32 -07:00
exc_args.s [BOLT][TEST] Add section flags for .gcc_except_table 2022-02-04 09:48:22 -08:00
ft_to_noop.s [BOLT][TEST] Import small tests 2021-11-03 17:09:49 -07:00
indirect_goto.c [BOLT][TEST] Imported small tests 2021-10-06 12:23:05 -07:00
inline-foo.c [BOLT][TEST] Fix test failures on AArch64 builder 2022-05-03 15:39:43 -07:00
inline-main.c [BOLT][NFC] Fix debug info printouts for inlined functions 2021-06-04 12:31:31 -07:00
inlined.cpp [BOLT][TEST] Imported small tests 2021-10-06 12:23:05 -07:00
inlinee.cpp [BOLT][TEST] Imported small tests 2021-10-06 12:23:05 -07:00
issue20.yaml [BOLT][TESTS] Remove dynamic relocations from YAML tests 2021-06-30 14:33:59 -07:00
issue26.yaml [BOLT][TESTS] Remove dynamic relocations from YAML tests 2021-06-30 14:33:59 -07:00
jmp_opt.cpp [BOLT][TEST] Imported small tests 2021-10-06 16:20:00 -07:00
jmp_opt2.cpp [BOLT][TEST] Imported small tests 2021-10-06 16:20:00 -07:00
jmp_opt3.cpp [BOLT][TEST] Imported small tests 2021-10-06 16:20:00 -07:00
jmpjmp.s [BOLT][TEST] Imported small tests 2021-10-06 16:20:00 -07:00
jt-pic-linkerscript.ld [BOLT] Always move JTs in jump-table=move 2022-11-04 13:20:11 -07:00
jump-table-pic.s [BOLT] Make order of jump table successors deterministic 2022-02-14 10:37:20 -08:00
jump_table_footprint_reduction.s [BOLT][TEST] Imported small tests 2021-10-06 16:20:00 -07:00
jump_table_icp.s [BOLT][TEST] Import jump-table-icp.test, update link_fdata script 2021-11-08 10:56:21 -08:00
jump_table_reference.s [BOLT][TEST] Imported small tests 2021-10-06 16:20:00 -07:00
linenumber.cpp [BOLT][TEST] Imported small tests 2021-10-07 13:38:58 -07:00
loop_nest.s [BOLT][TEST] Import small tests 2021-11-11 14:28:46 -08:00
order.txt [BOLT][TEST] Import small tests 2021-11-12 15:38:45 -08:00
plt-got-sec.yaml [BOLT] Support PLT sections with variable entry sizes 2021-07-14 01:35:34 -07:00
plt-mold.yaml [BOLT] Add mold-style PLT support 2022-10-25 11:03:52 -07:00
plt-sec-8-byte.yaml [BOLT] Support PLT sections with variable entry sizes 2021-07-14 01:35:34 -07:00
plt-sec.yaml [BOLT] Add support for .plt.sec and refactor PLT-reading code 2021-06-30 14:41:41 -07:00
pre-aggregated.txt [BOLT] Add parser for pre-aggregated perf data 2018-07-17 18:31:46 -07:00
relaxed_tc.s [BOLT][TEST] Imported small tests 2021-10-08 14:33:33 -07:00
rodata_simpl_loads.s [BOLT][TEST] Import small tests 2021-11-11 14:28:46 -08:00
sctc_bug.s [BOLT][TEST] Imported small tests 2021-10-08 14:49:23 -07:00
sctc_bug2.s [BOLT][TEST] Imported small tests 2021-10-08 14:49:23 -07:00
sctc_bug3.s [BOLT][TEST] Imported small tests 2021-10-08 14:49:23 -07:00
sctc_bug4.s [BOLT][TEST] Imported small tests 2021-10-08 14:49:23 -07:00
shorten_mov.s [BOLT][TEST] Import small tests 2021-11-12 15:38:45 -08:00
srol-bug-input.yaml [BOLT][TESTS] Remove dynamic relocations from YAML tests 2021-06-30 14:33:59 -07:00
static_exe.s [BOLT][TEST] Imported small tests 2021-10-08 18:23:32 -07:00
tailcall.s [BOLT][TEST] Imported small tests 2021-10-08 18:23:32 -07:00
tailcall_traps.s [BOLT][test] Fix X86 cross-platform tests 2022-04-04 22:25:42 -07:00
unreachable.s [BOLT][test] Fix X86 tests 2022-04-06 21:16:42 +03:00
user-order.S [BOLT][TEST] Import small tests 2021-11-12 15:38:45 -08:00