llvm-project/bolt/test/X86/static-exe.test

7 lines
207 B
Plaintext

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