blob: cd02e714dbe17afa19dc410d6b037d0e1484b567 [file] [log] [blame]
Betul Buyukkurt3da993c2016-03-31 18:41:34 +00001// Check the value profiling instrinsics emitted by instrumentation.
2
3// RUN: %clang_cc1 -triple x86_64-apple-macosx10.9 -main-file-name c-avoid-direct-call.c %s -o - -emit-llvm -fprofile-instrument=clang -mllvm -enable-value-profiling | FileCheck %s
4
5void foo();
6
7int main(void) {
8// CHECK-NOT: call void @__llvm_profile_instrument_target
9 foo(21);
10 return 0;
11}