[PATCH] D21338: cc1_main: Do not print statistics in -disable_free mode.

Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Jun 15 12:31:43 PDT 2016


This revision was automatically updated to reflect the committed changes.
Closed by commit rL272820: cc1_main: Do not print statistics twice in -disable_free mode. (authored by matze).

Changed prior to commit:
  http://reviews.llvm.org/D21338?vs=60732&id=60877#toc

Repository:
  rL LLVM

http://reviews.llvm.org/D21338

Files:
  cfe/trunk/tools/driver/cc1_main.cpp

Index: cfe/trunk/tools/driver/cc1_main.cpp
===================================================================
--- cfe/trunk/tools/driver/cc1_main.cpp
+++ cfe/trunk/tools/driver/cc1_main.cpp
@@ -126,8 +126,6 @@
 
   // When running with -disable-free, don't do any destruction or shutdown.
   if (Clang->getFrontendOpts().DisableFree) {
-    if (llvm::AreStatisticsEnabled() || Clang->getFrontendOpts().ShowStats)
-      llvm::PrintStatistics();
     BuryPointer(std::move(Clang));
     return !Success;
   }


-------------- next part --------------
A non-text attachment was scrubbed...
Name: D21338.60877.patch
Type: text/x-patch
Size: 509 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20160615/34410d7b/attachment.bin>


More information about the cfe-commits mailing list