Closed Bug 1488631 Opened 7 years ago Closed 7 years ago

Remove annotations that the plugin doesn't handle.

Categories

(Developer Infrastructure :: Source Code Analysis, enhancement)

enhancement
Not set
normal

Tracking

(firefox64 fixed)

RESOLVED FIXED
mozilla64
Tracking Status
firefox64 --- fixed

People

(Reporter: glandium, Assigned: glandium)

References

Details

Attachments

(1 file)

No description provided.
As per bug 1487622, annotations have side effects on codegen, one of which changes a leak signature that the wpt harness doesn't match against its whitelist anymore. Interestingly, while looking at the issue, I found multiple moz_* annotations that weren't actually looked for by the clang plugin, making them useless. Even more interestingly, removing them changes codegen in such a way that the leak signature mentioned above is not altered anymore.
Blocks: 1488632
I'll repurpose bug 1487622 to address the core problem. I'm trying to rewrite the plugin so that it doesn't use annotations.
Note that I left all the annotations in code, in case we'd decide to actually do something about them in the future, but it's still better to avoid adding actual annotations (that impact codegen) when we don't care about them. At least it makes it clearer that those are actually no-ops.
Comment on attachment 9006431 [details] Bug 1488631 - Remove annotations that the clang plugin doesn't handle. r?andi Andi-Bogdan Postelnicu [:andi] has approved the revision.
Attachment #9006431 - Flags: review+
Pushed by mh@glandium.org: https://hg.mozilla.org/integration/mozilla-inbound/rev/e1e83e95d0a9 Remove annotations that the clang plugin doesn't handle. r=andi
Status: NEW → RESOLVED
Closed: 7 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla64
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: