Index: llvm/trunk/include/llvm/ProfileData/GCOV.h =================================================================== --- llvm/trunk/include/llvm/ProfileData/GCOV.h +++ llvm/trunk/include/llvm/ProfileData/GCOV.h @@ -376,6 +376,7 @@ }; class FileInfo { +protected: // It is unlikely--but possible--for multiple functions to be on the same // line. // Therefore this typedef allows LineData.Functions to store multiple @@ -428,7 +429,7 @@ void print(raw_ostream &OS, StringRef MainFilename, StringRef GCNOFile, StringRef GCDAFile); -private: +protected: std::string getCoveragePath(StringRef Filename, StringRef MainFilename); std::unique_ptr openCoveragePath(StringRef CoveragePath); void printFunctionSummary(raw_ostream &OS, const FunctionVector &Funcs) const;