llvm-project/bolt/test/X86
Rafael Auler 696b8ea05f [BOLT] Testcase to repro dyn reloc bug
Add a new testcase that shows a bug in BOLT when writing out
dynamic relocations. This is currently marked as XFAIL as we work on
solving it. This bug happens when the current strategy fails to
recognize that the original dynamic relocation in the input should
reference the original .bolt.org.rodata section instead of the new one
.rodata created by BOLT after moving jump tables. This bug started
happening after 729d29e167.

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D125941
2022-10-07 11:27:23 -07:00
..
Inputs [BOLT] Testcase to repro dyn reloc bug 2022-10-07 11:27:23 -07:00
addr32.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
asm-dump.c [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
asm-func-debug.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
avx512-trap.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
bb-with-two-tail-calls.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
block-reordering.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
bolt-address-translation-internal-call.test Add BAT testing framework 2022-07-29 14:55:04 -07:00
bolt-address-translation.test Add BAT testing framework 2022-07-29 14:55:04 -07:00
branch-data.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
broken_dynsym.test [BOLT] Handle broken .dynsym in stripped binaries 2022-07-22 11:24:09 -07:00
bug-reorder-bb-jrcxz.s [BOLT] Mark option values of --split-functions deprecated 2022-06-24 17:01:13 -07:00
call-zero.s [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
cfi-expr-rewrite.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
cfi-instrs-count.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
cfi-instrs-reordered.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
cmov-conversion.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
ctc-and-unreachable.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
data-to-data-pcrel.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
debug-fission-single.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
double-jump.test [BOLT] Restrict execution of tests that fail on Windows 2022-07-11 17:59:58 -07:00
double-rel.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
dummy-eh-frame-bug.s [BOLT] Fix writing out unmarked .eh_frame section 2022-10-07 11:19:51 -07:00
dwarf-handle-visit-loclist-error.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
dwarf3-lowpc-highpc-convert.s [BOLT][DWARF] Add Unit test for DW_AT_high_pc [DW_FORM_addr] 2022-07-18 14:03:53 -07:00
dwarf4-df-dualcu-loclist.test [BOLT]DWARF] Eagerly write out loclists 2022-06-08 16:52:59 -07:00
dwarf4-df-dualcu.test [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf4-ftypes-dwo-input-dwp-output.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
dwarf4-ftypes-dwp-input-dwo-output.test [BOLT][DWARF] Fix TU Index handling for DWARF4/5 2022-06-01 18:16:12 -07:00
dwarf4-ftypes-dwp-input-dwp-output.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
dwarf4-size-0-inlined_subroutine.s [BOLT][DWARF] Handle zero size DW_TAG_inlined_subroutine 2022-08-17 17:29:53 -07:00
dwarf4-split-dwarf-no-address.test [BOLT][DWARF] Fix assert for split dwarf. 2022-05-08 19:18:17 -07:00
dwarf5-call-pc-function-null-check.test [DWARF][BOLT] Handle getBinaryFunctionContainingAddress returning nullptr for DW_TAG_call_site 2022-08-17 16:04:34 -07:00
dwarf5-call-pc.test [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.test [BOLT][DWARF] Fix updating CU that has no entry in .debug_addr 2022-08-25 17:03:11 -07:00
dwarf5-debug-info-dwarf4-debug-line.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
dwarf5-debug-line.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
dwarf5-debug-loclists.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
dwarf5-df-dualcu-loclist.test [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf5-df-dualcu.test [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf5-df-mono-dualcu.test [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf5-dwarf4-monolithic.test [BOLT][DWARF] Support mix mode DWARF 2022-06-30 16:53:15 -07:00
dwarf5-ftypes-dwp-input-dwo-output.test [BOLT][DWARF] Fix TU Index handling for DWARF4/5 2022-06-01 18:16:12 -07:00
dwarf5-label-low-pc.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
dwarf5-locaddrx.test [BOLT][DWARF] Convert dwarf5-df-* tests to assembly tests 2022-05-25 13:41:18 -07:00
dwarf5-locexpr-addrx.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
dwarf5-loclist-offset-form.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
dwarf5-lowpc-highpc-convert.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
dwarf5-multiple-dw-op-addrx-locexpr.s [BOLT][DWARF] Fix handling of multiple DW_OP_addrx in an expression 2022-08-01 14:38:47 -07:00
dwarf5-rangeoffset-to-rangeindex.s [DWARF][BOLT] Fix handling of converting range accesss from ofset to index. 2022-08-19 15:28:12 -07:00
dwarf5-return-pc.test [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.test [BOLT][DWARF] Support mix mode DWARF 2022-06-30 16:53:15 -07:00
dwarf5-two-loclists.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
dwarf5-two-rnglists.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
dynrelocs.s [BOLT] Testcase to repro dyn reloc bug 2022-10-07 11:27:23 -07:00
end-symbol.test [BOLT] Properly set _end symbol 2022-10-07 11:19:14 -07:00
exceptions-args.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
fallthrough-to-noop.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
false-jump-table.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
fptr-addend-pcrel.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
fragmented-symbols.s [BOLT] Emit LSDA call sites for all fragments 2022-09-08 17:10:29 -07:00
frame-opt-lea.s [BOLT] Increase coverage of shrink wrapping [5/5] 2022-07-11 17:30:13 -07:00
gdbindex.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
gotpcrelx.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
high_pc_udata.s [BOLT][DWARF] Fix incorrect DW_AT_type offset for unittest 2022-07-18 14:20:22 -07:00
icf-jump-tables.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
icp-inline.s [BOLT][TEST] Add icp-inline.s test 2022-07-15 20:49:26 -07:00
indirect-goto.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
inline-debug-info.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
inlined-function-mixed.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
insert-addr-rnglists_base.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
insert-debug-info-entry.test [BOLT][DWARF] Add ability to insert new entries in to DIE 2022-02-15 18:07:19 -08:00
internal-call-instrument-so.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
internal-call-instrument.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
interprocedural-ref-entry-point.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
is-strip.s [BOLT] Add BinaryContext::IsStripped 2022-07-28 23:11:03 -07:00
issue20.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
issue20.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
issue26.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
issue26.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
jmp-after-ret.s [BOLT] Remove unreachable uncond branch after return 2022-01-19 22:06:26 +03:00
jmp-optimization.test [BOLT] Restrict execution of tests that fail on Windows 2022-07-11 17:59:58 -07:00
jmpjmp.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
jump-table-footprint-reduction.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
jump-table-icp.test [BOLT] Restrict execution of tests that fail on Windows 2022-07-11 17:59:58 -07:00
jump-table-move.s [BOLT] Support multiple parents for split jump table 2022-07-13 23:37:31 -07:00
jump-table-pic-order.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
jump-table-reference.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
layout-heuristic.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
line-number.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
lit.local.cfg [BOLT][TEST] Fix testing on macos 2022-05-13 13:03:47 -07:00
loop-inversion-pass.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
loop-nest.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
lto-name-match.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
merge-fdata-bat-mode.test [BOLT] Fix LIT tests on Windows VS2019 2022-05-31 11:45:39 -07:00
merge-fdata-output.test [BOLT] Add `-o` option to merge-fdata 2022-06-02 01:29:04 +08:00
no-entry-reordering.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
no-output.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
nop-function.s [BOLT] Fix empty function emission in non-relocation mode 2022-09-16 13:38:32 -07:00
plt-sec-8-byte.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
plt-sec.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
pre-aggregated-perf.test [BOLT] Control aggregation mode output profile file format 2022-09-19 13:37:10 -07:00
reader.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
relaxed-tailcall.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
remove-unused.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
rodata-simpl-loads.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
sctc-bug.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
sctc-bug2.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
sctc-bug3.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
sctc-bug4.test [BOLT][TEST] Rename tests to follow standard naming scheme 2021-11-04 13:36:15 -07:00
shared-abbrev.s [BOLT][DWARF] Fix bolt/test/X86/shared-abbrev.s 2022-07-22 10:45:28 -07:00
shared_object_entry.s [BOLT] Mark option values of --split-functions deprecated 2022-06-24 17:01:13 -07:00
shorten-mov.test [BOLT][test] Fix X86 tests 2022-04-06 21:16:42 +03:00
shrinkwrapping-and-rsp.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
shrinkwrapping-critedge.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
shrinkwrapping-do-not-pessimize.s [BOLT] Increase coverage of shrink wrapping [3/5] 2022-07-11 17:30:00 -07:00
shrinkwrapping-insertcfi.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
shrinkwrapping-lea.s [BOLT] Increase coverage of shrink wrapping [5/5] 2022-07-11 17:30:13 -07:00
shrinkwrapping-mov.s [BOLT] Increase coverage of shrink wrapping [5/5] 2022-07-11 17:30:13 -07:00
shrinkwrapping-pop-order.s [BOLT] Increase coverage of shrink wrapping [1/5] 2022-07-11 17:29:22 -07:00
shrinkwrapping-popf.s [BOLT] Increase coverage of shrink wrapping [5/5] 2022-07-11 17:30:13 -07:00
shrinkwrapping-restore-position.s [BOLT] Verify externally referenced blocks against jump table targets 2022-09-16 11:44:33 -07:00
shrinkwrapping.test [BOLT] Restrict execution of tests that fail on Windows 2022-07-11 17:59:58 -07:00
split-all-lptrampoline.s [BOLT] Add test checking LP trampolines in multi-split 2022-09-08 17:10:38 -07:00
split-all.s [BOLT] Add split all blocks strategy 2022-08-18 21:55:07 -07:00
split-func-icf.s [BOLT] Mark fragments related to split jump table as non-simple 2022-06-10 15:49:32 -07:00
split-func-jump-table-fragment-bidirection.s [BOLT] Support multiple parents for split jump table 2022-07-13 23:37:31 -07:00
split-func-jump-table-fragment-noparent.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
split-func-jump-table-fragment-reverse.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
split-func-jump-table-fragment.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
split-landing-pad.s [BOLT] Support split landing pad 2022-07-14 18:10:22 -07:00
split-random.s [BOLT] Add randomN split strategy 2022-08-18 21:55:07 -07:00
srol-bug.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
static-exe.test [BOLT][TEST] Fix testing on macos 2022-05-13 13:03:47 -07:00
symtab-secondary-entries.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
tail-duplication-cache.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
tail-duplication-cacheline.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
tail-duplication-complex.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
tail-duplication-jt.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
tail-duplication-pass.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
tail-duplication-prop-bug.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
tailcall-traps.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
tailcall.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
unclaimed-jt-entries.s [BOLT] Verify externally referenced blocks against jump table targets 2022-09-16 11:44:33 -07:00
unreachable.test [BOLT] Mark option values of --split-functions deprecated 2022-06-24 17:01:13 -07:00
vararg.test [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00
zero-sized-object.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -07:00