From efe57859cdc3d4380a4ba500e219d280167c6d89 Mon Sep 17 00:00:00 2001
From: clc5q <clc5q@git.zephyr-software.com>
Date: Sun, 20 Apr 2008 04:30:12 +0000
Subject: [PATCH] Trivial debug output change.

---
 SMPProgram.cpp | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/SMPProgram.cpp b/SMPProgram.cpp
index 4fda4900..5063544f 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();
-- 
GitLab