blob: 9e7ed405afba904b6f9ff9872d7cd937eb39fef9 [file]
# 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