firefox-devtools / firefox-devtools/profiler

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

未关闭
#167 7 条评论 0 个 reaction 已指派 0 人 在 GitHub 查看
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 还没有评估数据。

把新 issue 发到你的邮箱

精选适合新手参与的 GitHub issue 摘要。