Closed Bug 1425071 Opened 8 years ago Closed 5 months ago

[templates] Nothing emitted for some symbols inside GC tracer templates

Categories

(Webtools :: Searchfox, enhancement)

enhancement
Not set
normal

Tracking

(Not tracked)

RESOLVED WORKSFORME

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
Flags: needinfo?(pbone)
Flags: needinfo?(caglierofabio)

Not reproducible with the latest files, except that some functions no longer exist.
The improvements on the template and also to the macro expansion should've helped some cases.

Status: NEW → RESOLVED
Closed: 5 months ago
Resolution: --- → WORKSFORME
You need to log in before you can comment on or make changes to this bug.