Closed Bug 438030 Opened 16 years ago Closed 16 years ago

Treehydra: support inter-procedural analysis

Categories

(Developer Infrastructure :: Source Code Analysis, defect)

x86
All
defect
Not set
normal

Tracking

(Not tracked)

RESOLVED FIXED

People

(Reporter: taras.mozilla, Assigned: taras.mozilla)

References

Details

Attachments

(1 file)

Currently treehydra only hooks into the GIMPLE lowering passes. IPA ones are interesting because they allow one to see functions in their inlined form. Using IPA is also a performance advantage because there is only a single entry point into js, so there is no need to reset the lazy node cache on every function. This adds a process_cgraph function as it doesn't make sense to reuse process_tree. In order for this to work one needs to apply an updated gcc plugin patch.
Attached patch impl + testcaseSplinter Review
silly bugzilla wouldn't let me do this in one shot
Attachment #324309 - Flags: review?(dmandelin)
Comment on attachment 324309 [details] [diff] [review] impl + testcase I don't understand much of this, but at least it looks like process_tree with CFGs still works.
Attachment #324309 - Flags: review?(dmandelin) → review+
Depends on: 447560
pushed a while ago
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → FIXED
Product: Core → Firefox Build System
Product: Firefox Build System → Developer Infrastructure
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: