llvm-project/clang/tools/driver
Matthias Braun 7005a9272b cc1_main: Do not print statistics twice in -disable_free mode.
llvm statistics are currently printed when the destructor of a "static
ManagedStatic<StatisticInfo> StatInfo" in llvm runs.  This destructor
currently runs in each case as part of llvm_shutdown() which is run even
in disable_free mode as part of main(). I assume that this hasn't always
been the case.

Removing the special code here avoids the statistics getting printed
twice.

Differential Revision: http://reviews.llvm.org/D21338

llvm-svn: 272820
2016-06-15 19:24:55 +00:00
..
CMakeLists.txt [Perf-Training] Reworked workflow improvements for order-file generation 2016-04-08 22:48:18 +00:00
Info.plist.in
cc1_main.cpp cc1_main: Do not print statistics twice in -disable_free mode. 2016-06-15 19:24:55 +00:00
cc1as_main.cpp Update to match LLVM r272232. 2016-06-09 00:53:41 +00:00
driver.cpp Update to match LLVM r272232. 2016-06-09 00:53:41 +00:00