OSDN Git Service

Statistic: Bring back printing on exit by default
authorMatthias Braun <matze@braunis.de>
Tue, 27 Sep 2016 19:38:55 +0000 (19:38 +0000)
committerMatthias Braun <matze@braunis.de>
Tue, 27 Sep 2016 19:38:55 +0000 (19:38 +0000)
commit869a1fcb645243ae1515027b0187177bf54018e9
tree705c264ee92316a83a158c5721a2b08d9cdca170
parent97c9e0212d4a4de4b2495c49ee5f33e52866ae71
Statistic: Bring back printing on exit by default

Turns out several external projects relied on llvm printing statistics
on exit. Let's go back to this behaviour by default and have an optional
parameter to disable it.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@282532 91177308-0d34-0410-b5e6-96231b3b80d8
include/llvm/ADT/Statistic.h
lib/Support/Statistic.cpp