Closed
Bug 440156
Opened 17 years ago
Closed 17 years ago
garburator: classes with multiple user attributes are not correctly identified as stack classes
Categories
(Developer Infrastructure :: Source Code Analysis, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: benjamin, Assigned: taras.mozilla)
Details
Attachments
(1 file)
|
11.19 KB,
patch
|
benjamin
:
review+
|
Details | Diff | Splinter Review |
class __attribute__((user("NS_stack"))) is identified as a stack class to be rewritten.
class __attribute__((user("NS_foo"))) __attribute__((user("NS_stack"))) is not.
As a testcases, add the extra attribute to http://hg.mozilla.org/oink/index.cgi/file/5f83b1ad8462/garburator_tests/longevity.cc#l180
| Assignee | ||
Comment 1•17 years ago
|
||
Give this a try. I didn't consider multiple attribute case when implementing this.
Attachment #326338 -
Flags: review?(benjamin)
| Reporter | ||
Comment 2•17 years ago
|
||
Comment on attachment 326338 [details] [diff] [review]
Multi-attribute support
>diff --git a/garburator.cc b/garburator.cc
>+ AT_func attrFunc = asl->spec->attr->asAT_func();
Patched this to be AT_func *attrFunc, and it works. I'll push it with this change.
Attachment #326338 -
Flags: review?(benjamin) → review+
| Assignee | ||
Comment 3•17 years ago
|
||
Good eye. It's a little frustrating that elsa allows things like that to slip.
Status: NEW → RESOLVED
Closed: 17 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Product: Core → Firefox Build System
Updated•3 years ago
|
Product: Firefox Build System → Developer Infrastructure
You need to log in
before you can comment on or make changes to this bug.
Description
•