Displaying 1 result from an estimated 1 matches for "reportbadpgodata".
2014 May 12
3
[LLVMdev] Questions about LLVM PGO and autoFDO
...unction entry
I found that the run-time function "writeFile" in InstrProfilingFile.cpp didn't write '\n'.
But when parsing the profile data, in CodeGenPGO.cpp line 56, it tried to find '\n' like below:
CurPtr = strchr(CurPtr, '\n');
if (!CurPtr) {
ReportBadPGOData(CGM, "pgo data file has malformed function entry");
return;
}
2. Problems in autoFDO:
Actually the problem happened in using create_llvm_prof, transformation is failed.
clang -O2 -g test.c -o a.out
perf record -b ./a.out (perf version is 0.0.2, "-b" option i...