Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
SMPStaticAnalyzer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Build
Pipelines
Jobs
Pipeline schedules
Artifacts
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
CI/CD analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Open Source Software
SMPStaticAnalyzer
Commits
efe57859
Commit
efe57859
authored
16 years ago
by
clc5q
Browse files
Options
Downloads
Patches
Plain Diff
Trivial debug output change.
parent
d773f60b
No related branches found
No related tags found
No related merge requests found
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
SMPProgram.cpp
+3
-3
3 additions, 3 deletions
SMPProgram.cpp
with
3 additions
and
3 deletions
SMPProgram.cpp
+
3
−
3
View file @
efe57859
...
...
@@ -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
();
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment