firefox-devtools/profiler

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

Ouverte

#167 ouverte le 27 févr. 2017

 (7 commentaires) (0 réaction) (0 personne assignée)TypeScript (486 forks)auto 404
help wanted

Métriques du dépôt

Stars
 (1 515 étoiles)
Métriques de merge PR
 (Métriques PR en attente)

Description

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

Guide contributeur