brintos

brintos / llvm-project-archived public Read only

0
0
Text · 302 B · 0ac48fa Raw
10 lines · c
1// RUN: rm -f %t.profraw2// RUN: %clang_pgogen -ffunction-sections -Wl,-bcdtors:mbr %s -o %t.gen3// RUN: env LLVM_PROFILE_FILE=%t.profraw %run %t.gen4// RUN: llvm-profdata show %t.profraw --all-functions | FileCheck %s5 6int foo() { return 0; }7int main() { return foo();}8 9// CHECK: Total functions: 210