9 lines · c
1// RUN: %clang_cc1 %s -emit-llvm -fprofile-instrument=clang -fprofile-update=atomic -o - | FileCheck %s2// RUN: %clang %s -S -emit-llvm -fprofile-generate -fprofile-update=atomic -o - | FileCheck %s3// RUN: %clang -O3 %s -S -emit-llvm -fprofile-generate -fprofile-update=atomic -o - | FileCheck %s4 5// CHECK: define {{.*}}@foo6// CHECK-NOT: load {{.*}}foo7// CHECK: ret void8void foo(void) {}9