Skip to content
Snippets Groups Projects
Commit efe57859 authored by clc5q's avatar clc5q
Browse files

Trivial debug output change.

parent d773f60b
No related branches found
No related tags found
No related merge requests found
......@@ -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();
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment