17 lines · plain
1// RUN: %clang %cflags -o %t %s2// RUN: link_fdata --no-lbr %s %t %t.fdata3// RUN: llvm-bolt %t -o %t.null --data=%t.fdata --dyno-stats | FileCheck %s4 5// CHECK: BOLT-INFO: program-wide dynostats after all optimizations before SCTC and FOP (no change):6// CHECK: 3000 : executed instructions7// CHECK: 1000 : executed load instructions8// CHECK: 1000 : executed store instructions9 10 .globl _start11_start:12# FDATA: 1 _start #_start# 113 ld t0, (gp)14 sd t0, (gp)15 ret16 .size _start, .-_start17