Open
Bug 1425071
Opened 7 years ago
Updated 4 years ago
[templates] Nothing emitted for some symbols inside GC tracer templates
Categories
(Webtools :: Searchfox, enhancement)
Webtools
Searchfox
Tracking
(Not tracked)
NEW
People
(Reporter: pbone, Unassigned)
Details
For example:
https://searchfox.org/mozilla-central/source/js/src/gc/Tracer.cpp#48
Some things here are not clickable, like dispatchToOnEdge, I think that searchfox is confused by the comment on line 40, maybe it can't find the end of the comment? I'm not sure.
When I search for an item like this these uses are shown as textual occurances.
Thanks.
Comment 1•7 years ago
|
||
I don't think this is related to the comment. A C++ thing doesn't get linkified if the analysis doesn't emit anything for it, which can happen for various reasons. There's a bunch of templated things involved here, and handling that is tricky, so likely something isn't being handled correctly.
Specifically, inside the definition of the template DoCallback, CheckTracedThing and dispatchToOnEdge aren't linked to anything.
js::CheckTracedThing and CheckTracedFunctor in this file also have this problem.
Summary: Sometimes searchfox thinks code is text. → Nothing emitted for some symbols inside GC tracer templates
Comment 2•4 years ago
|
||
Permalink for dispatchToOnEdge: https://searchfox.org/mozilla-central/rev/df4c90d4b8c92c99f76334acfe4813c573c12661/js/src/gc/Tracer.cpp#45
Summary: Nothing emitted for some symbols inside GC tracer templates → [templates] Nothing emitted for some symbols inside GC tracer templates
You need to log in
before you can comment on or make changes to this bug.
Description
•