1 // 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 5 void foo(); 6 main(void)7int main(void) { 8 // CHECK-NOT: call void @__llvm_profile_instrument_target 9 foo(21); 10 return 0; 11 } 12