firefox-devtools / firefox-devtools/profiler

C++-demangle JS function names for emscripten'd code

Offen
#167 7 Kommentare 0 Reaktionen 0 zugewiesene Personen Auf GitHub ansehen
help wanted
Vorherrschende Sprache
TypeScript
Sterne
1.5k
Forks
491
Ø Merge
3 T. 5 Std.
Gemergte PRs (30 T.)
30

Beschreibung

If you compile a C++ project to JS using emscripten, you end up with JS function names like `__ZN20ShaderConstantBuffer9SetFloat3EiRKN4math6float3E`. Profiles of such code can be hard to read. We should run function names through a demangler so that they become readable; in the example that would be `ShaderConstantBuffer::SetFloat3(int, math::float3 const&)`.

There's a `demangle` module on npm that can do this.

┆Issue is synchronized with this [Jira Task](https://mozilla-hub.atlassian.net/browse/FP-117)

Beitragsleitfaden

Beitragsleitfaden öffnen

Bewertung

Dieses Issue wurde noch nicht bewertet.

Neue Issues direkt in Ihr Postfach

Eine kurze Übersicht über anfängerfreundliche GitHub-Issues.