llvm-project/bolt/test/X86
Huan Nguyen 8eb68d92d4 [BOLT] Handle broken .dynsym in stripped binaries
Strip tools cause a few symbols in .dynsym to have bad section index.
This update safely keeps such broken symbols intact.

Test Plan:
```
ninja check-bolt
```

Reviewed By: Amir

Differential Revision: https://reviews.llvm.org/D130073
2022-07-22 11:24:09 -07:00
..
Inputs [BOLT] Handle broken .dynsym in stripped binaries 2022-07-22 11:24:09 -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
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
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-split-dwarf-no-address.test [BOLT][DWARF] Fix assert for split dwarf. 2022-05-08 19:18:17 -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-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-rangeoffset-to-rangeindex.s [BOLT][TEST] Use double dash flags in tests 2022-06-10 16:27:33 -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
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
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
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
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] Move disassemble optimizations to optimization passes 2021-12-18 17:03:35 -08: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] Increase coverage of shrink wrapping [5/5] 2022-07-11 17:30:13 -07:00
shrinkwrapping.test [BOLT] Restrict execution of tests that fail on Windows 2022-07-11 17:59:58 -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 option to randomize function split point 2022-06-29 13:02:05 -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
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