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