Open
Bug 1833921
Opened 3 years ago
Updated 3 years ago
Consider enabling thread-safety analysis only along the clang-plugin
Categories
(Firefox Build System :: Toolchains, task)
Firefox Build System
Toolchains
Tracking
(Not tracked)
NEW
People
(Reporter: emilio, Unassigned)
Details
thread-safety analysis can add significant overhead to the build (see bug 1833676 for an example). It might make sense to enable it only when other static analysis passes are enabled.
Maybe we can enable thread-safety only when --enable-clang-plugin is enabled? Or rename --enable-clang-plugin to --enable-static-analysis or so?
I'd be happy to write the patch if that seems reasonable.
Flags: needinfo?(mh+mozilla)
Comment 1•3 years ago
|
||
The Bugbug bot thinks this bug should belong to the 'Firefox Build System::Toolchains' component, and is moving the bug to that component. Please correct in case you think the bot is wrong.
Component: General → Toolchains
Comment 2•3 years ago
|
||
Unless we have evidence that bug 1833676 is not a one-off, I don't think we should do this. I do think bug 1833676 is hitting a bad corner case with its huge function.
Flags: needinfo?(mh+mozilla)
You need to log in
before you can comment on or make changes to this bug.
Description
•