xref: /llvm-project/bolt/test/X86/broken_dynsym.test (revision 11791ae7b0b05b8bd8d806331ff51da618912cf8)
1*11791ae7SSayhaan Siddiqui## This test checks if BOLT can process stripped binaries, where symbol's section
2*11791ae7SSayhaan Siddiqui## header index is corrupted due to strip tool.
38eb68d92SHuan Nguyen
48eb68d92SHuan Nguyen# RUN: yaml2obj %p/Inputs/broken_dynsym.yaml -o %t
58eb68d92SHuan Nguyen# RUN: llvm-strip -s %t
6c8482da7SAmir Ayupov# RUN: llvm-bolt %t -o %t.bolt --allow-stripped | FileCheck %s
78eb68d92SHuan Nguyen
88eb68d92SHuan Nguyen# CHECK-NOT: section index out of bounds
9