xref: /llvm-project/bolt/test/X86/static-exe.test (revision 11791ae7b0b05b8bd8d806331ff51da618912cf8)
1## Check that llvm-bolt can rewrite static executable
2
3RUN: %clang %cflags %S/Inputs/static_exe.s -static -o %t.exe -nostdlib
4RUN: llvm-bolt %t.exe -o %t 2>&1 | FileCheck %s
5
6CHECK: 1 out of 1 functions were overwritten
7