llvm-project/bolt/test/X86/broken_dynsym.test

9 lines
293 B
Plaintext

# 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 | FileCheck %s
# CHECK-NOT: section index out of bounds