firefox-devtools / firefox-devtools/profiler
C++-demangle JS function names for emscripten'd code
未关闭
help wanted
- 主要语言
- TypeScript
- 星标
- 1.5k
- 派生
- 491
- 平均合并
- 3 天 46 分钟
- 30 天内合并 PR
- 27
描述
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)
贡献指南
评估
这个 Issue 还没有评估数据。