Displaying 1 result from an estimated 1 matches for "indexedinstrprofreader".
2015 Dec 18
3
InstrProf backward compatibility
...he current
implementation
1) uses LLVM's InstrProf pass to generate an instrumented executable
2) links to compiler-rt/lib/profile for the runtime functionality to write
a raw profile data file
3) uses llvm-profdata to merge profile data and convert from profraw to
profdata format
4) uses llvm::IndexedInstrProfReader to read-in the profdata file for the
2nd PGO compile pass
This all works well with LLVM 3.7. While testing this with LLVM trunk, I
run into a version compatibility problem between different versions of
LLVM: I made a local copy of the compiler-rt/lib/profile release_37 version
(with a few fixes fo...