Index: include/llvm/ProfileData/GCOV.h =================================================================== --- include/llvm/ProfileData/GCOV.h +++ include/llvm/ProfileData/GCOV.h @@ -428,7 +428,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;