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)

enhancement
Not set
normal

Tracking

(Not tracked)

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.
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
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.