Add ability to blacklist functions from UBSan and use it to suppress GC's generic calls
Categories
(Core :: JavaScript: GC, defect, P3)
Tracking
()
People
(Reporter: terrence, Assigned: terrence, NeedInfo)
References
(Blocks 1 open bug)
Details
(Keywords: triage-deferred)
Attachments
(1 file)
3.04 KB,
patch
|
sfink
:
review+
|
Details | Diff | Splinter Review |
Assignee | ||
Comment 1•8 years ago
|
||
Comment 2•8 years ago
|
||
Assignee | ||
Comment 3•8 years ago
|
||
Assignee | ||
Comment 4•8 years ago
|
||
Assignee | ||
Comment 5•8 years ago
|
||
Comment 7•8 years ago
|
||
bugherder |
Comment 8•8 years ago
|
||
bugherder |
Comment 9•8 years ago
|
||
Comment 11•8 years ago
|
||
Assignee | ||
Comment 12•8 years ago
|
||
Assignee | ||
Comment 13•8 years ago
|
||
Comment 14•8 years ago
|
||
Comment 15•8 years ago
|
||
Updated•7 years ago
|
Comment 16•5 years ago
|
||
This bug has been stalled for several years. Given how much the JS engine changes in that time, is the problem with sweep()
still present?
In the time since we've also gained more specific ubsan-disabling annotations, such as https://searchfox.org/mozilla-central/rev/ebe492edacc75bb122a2b380e4cafcca3470864c/mfbt/Attributes.h#295.
Comment 17•5 years ago
|
||
(In reply to :dmajor from comment #16)
The problem is still present and has just been independently discovered in bug 1587173. I couldn't see a macro to disable checked for this particular type of UB. I don't know how serious this kind of UB is and whether it would be OK to blacklist it or whether we should find a way to fix it. From the description it sounds like the obvious fix is not viable.
Comment 18•5 years ago
|
||
I think I must have mis-read the old patch here. On closer look it should be fine to re-land the Attributes.h piece and use it as needed. Our minimum compiler bar has been raised since the patch first landed.
Comment 19•4 years ago
|
||
The problem motivating this should have been fixed by bug 1634459.
Description
•