Prefix the debug statistics so they group together.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@21583 91177308-0d34-0410-b5e6-96231b3b80d8
This commit is contained in:
Reid Spencer 2005-04-27 00:20:23 +00:00
parent 1ea099c5fd
commit 026a87a868

View File

@ -104,6 +104,7 @@ namespace {
private:
const char* func_name;
#ifndef NDEBUG
std::string stat_name;
Statistic<> activations;
#endif
};
@ -115,7 +116,8 @@ namespace {
CallOptimizer::CallOptimizer(const char* fname)
: func_name(fname)
#ifndef NDEBUG
, activations(fname,"Number of calls simplified")
, stat_name(std::string("simplify-libcalls:")+fname)
, activations(stat_name.c_str(),"Number of calls simplified")
#endif
{
// Register this call optimizer