1# This test checks if BOLT can process stripped binaries, where symbol's section
2# header index is corrupted due to strip tool.
3
4# RUN: yaml2obj %p/Inputs/broken_dynsym.yaml -o %t
5# RUN: llvm-strip -s %t
6# RUN: llvm-bolt %t -o %t.bolt | FileCheck %s
7
8# CHECK-NOT: section index out of bounds
9