Introduce namespace-scope functions to enable LLVM statistics without
authorDouglas Gregor <dgregor@apple.com>
Tue, 30 Mar 2010 17:32:08 +0000 (17:32 +0000)
committerDouglas Gregor <dgregor@apple.com>
Tue, 30 Mar 2010 17:32:08 +0000 (17:32 +0000)
commit6ce57922bb8d550d91c8133d1fd27dd3eaf24c22
treecdfbcb2c7c81aac9ec47b8fc67dc0fe7bf2bc8a8
parent8260ea5c6c15345e00ced1398b03e6886145e45c
Introduce namespace-scope functions to enable LLVM statistics without
passing the command-line parameter "-stats" and to print the resulting
statistics without calling llvm_shutdown().

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