## Check that llvm-bolt can rewrite static executable
RUN: %clang %cflags %S/Inputs/static_exe.s -static -o %t.exe -nostdlib
RUN: llvm-bolt %t.exe -o %t 2>&1 | FileCheck %s
CHECK: 1 out of 1 functions were overwritten
## Check that llvm-bolt can rewrite static executable
RUN: %clang %cflags %S/Inputs/static_exe.s -static -o %t.exe -nostdlib
RUN: llvm-bolt %t.exe -o %t 2>&1 | FileCheck %s
CHECK: 1 out of 1 functions were overwritten