1 # This script checks that BOLT is able to work in dry run mode (no output)
3 # REQUIRES: system-linux
5 # RUN: llvm-mc -filetype=obj -triple x86_64-unknown-unknown \
7 # RUN: link_fdata %s %t.o %t.fdata
8 # RUN: llvm-strip --strip-unneeded %t.o
9 # RUN: %clang %cflags %t.o -o %t.exe -Wl,-q
10 # RUN: llvm-bolt %t.exe --print-profile-stats -o /dev/null \
11 # RUN: --data %t.fdata | FileCheck %s
18 # FDATA: 0 [unknown] 0 1 main 0 0 510
29 # CHECK: skipping writing final binary