1 // RUN
: %clang
%cflags
-o
%t %s
2 // RUN
: link_fdata
--no-lbr
%s
%t %t.fdata
3 // RUN
: llvm-bolt
%t -o
/dev
/null
--data
=%t.fdata
--dyno-stats | FileCheck
%s
5 // CHECK
: BOLT-INFO
: program-wide dynostats after all optimizations before SCTC
and FOP
(no change
):
6 // CHECK
: 3000 : executed instructions
7 // CHECK
: 1000 : executed load instructions
8 // CHECK
: 1000 : executed store instructions
12 # FDATA: 1 _start #_start# 1
16 .size _start, .-_start