[PATCH] D46931: [llvm-exegesis] Add a flag to output analysis csv to a file.

Guillaume Chatelet via Phabricator via llvm-commits llvm-commits at lists.llvm.org
Wed May 16 02:15:04 PDT 2018


gchatelet requested changes to this revision.
gchatelet added inline comments.
This revision now requires changes to proceed.


================
Comment at: tools/llvm-exegesis/llvm-exegesis.cpp:142
 
-  //llvm::InitializeAllTargets();
+  // llvm::InitializeAllTargets();
   llvm::InitializeNativeTarget();
----------------
Remove the line.


================
Comment at: tools/llvm-exegesis/llvm-exegesis.cpp:159
+  std::error_code ErrorCode;
+  llvm::raw_fd_ostream ClustersOS(AnalysisClustersFile, ErrorCode,
+                                  llvm::sys::fs::F_RW);
----------------
Does this work with "-" ?


Repository:
  rL LLVM

https://reviews.llvm.org/D46931





More information about the llvm-commits mailing list