diff --git a/SMPProgram.cpp b/SMPProgram.cpp index 4fda4900b0a60ab1193e3236a136436a5bd2647c..5063544f1fb5cb863adb5b07aa6b49fa6ce500ac 100644 --- a/SMPProgram.cpp +++ b/SMPProgram.cpp @@ -36,7 +36,7 @@ #define SMP_DEBUG 1 #define SMP_DEBUG_GLOBAL_GRANULARITY 0 #define SMP_DEBUG_OPTIMIZATIONS 1 -#define SMP_DEBUG_OPTIMIZATIONS_VERBOSE 0 +#define SMP_DEBUG_OPTIMIZATIONS_VERBOSE 1 #define SMP_DEBUG_FUNC 0 // Compute fine-grained global static data boundaries? @@ -301,13 +301,13 @@ void SMPProgram::Analyze(void) { pair<ea_t, SMPFunction *> TempFunc(FuncInfo->startEA, CurrFunc); this->FuncMap.insert(TempFunc); CurrFunc->Analyze(); - if (0 == strcmp("hash_string", CurrFunc->GetFuncName())) { + if (0 == strcmp("call_gmon_start", CurrFunc->GetFuncName())) { DebugFlag = true; } #if SMP_INFER_TYPES if (CurrFunc->IsLeaf() && CurrFunc->HasGoodRTLs() && !CurrFunc->HasIndirectJumps()) { #if SMP_DEBUG_OPTIMIZATIONS - msg("Inferring types for leaf function %s\n", CurrFunc->GetFuncName()); + msg("Inferring types for function %s\n", CurrFunc->GetFuncName()); #endif CurrFunc->InferTypes(); TotalTypedDefs += CurrFunc->GetTypedDefs();