[PATCH] D24820: Add -stats-file option

Bruno Cardoso Lopes via cfe-commits cfe-commits at lists.llvm.org
Fri Sep 23 11:28:24 PDT 2016


bruno added inline comments.

================
Comment at: lib/Driver/Tools.cpp:6102
@@ +6101,3 @@
+        StatsFile.assign(Output.getFilename());
+        llvm::sys::path::remove_filename(StatsFile);
+      }
----------------
Why removing StatsFile here? IIUC, at this point StatsFile is still the same as the output (if it's a file).


Repository:
  rL LLVM

https://reviews.llvm.org/D24820





More information about the cfe-commits mailing list