davidxl added inline comments. ================ Comment at: cfe/trunk/test/CodeGen/pgo-max-function-count.c:1 @@ +1,2 @@ +// RUN: %clang -fprofile-generate -o %t -O2 %s +// RUN: env LLVM_PROFILE_FILE=%t.profraw %t ---------------- Use -fprofile-instr-generate option. -fprofile-generate is for GCC compatibility.
================ Comment at: cfe/trunk/test/CodeGen/pgo-max-function-count.c:4 @@ +3,3 @@ +// RUN: llvm-profdata merge -o %t.profdata %t.profraw +// RUN: %clang -fprofile-use=%t.profdata -o - -S -emit-llvm %s | FileCheck %s +// Check ---------------- use -fprofile-instr-use=%t.profdata .. Repository: rL LLVM http://reviews.llvm.org/D15163 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits