Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
Buildable 18255 Build 18255: arc lint + arc unit
Event Timeline
| tools/llvm-exegesis/llvm-exegesis.cpp | ||
|---|---|---|
| 177–181 | Since there's no performance issue here, I'd rather separate the report generation from saving it: std::string ClusterReport;
if (auto Err = Analyzer.printClusters(llvm::raw_string_ostream(ClusterReport))) {
PrintAnalysis("analysis clusters", AnalysisClustersFile, ClusterReport );
}
std::string InconsistenciesReport;
if (auto Err = Analyzer.printClusters(llvm::raw_string_ostream(InconsistenciesReport))) {
PrintAnalysis("sched class consistency analysis", AnalysisInconsistenciesFile, InconsistenciesReport );
} | |
Since there's no performance issue here, I'd rather separate the report generation from saving it:
std::string ClusterReport; if (auto Err = Analyzer.printClusters(llvm::raw_string_ostream(ClusterReport))) { PrintAnalysis("analysis clusters", AnalysisClustersFile, ClusterReport ); } std::string InconsistenciesReport; if (auto Err = Analyzer.printClusters(llvm::raw_string_ostream(InconsistenciesReport))) { PrintAnalysis("sched class consistency analysis", AnalysisInconsistenciesFile, InconsistenciesReport ); }