Details
Details
Diff Detail
Diff Detail
- Repository
- rL LLVM
- Build Status
- Buildable 18252 - Build 18252: arc lint + arc unit 
Event Timeline
| tools/llvm-exegesis/llvm-exegesis.cpp | ||
|---|---|---|
| 178 | 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 ); }