firefox-devtools/profiler

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

開放

#167 建立於 2017年2月27日

 (7 則留言) (0 個反應) (0 位負責人)TypeScript (486 個分叉)auto 404
help wanted

倉庫指標

星標
 (1,515 顆星)
PR 合併指標
 (PR 指標待抓取)

描述

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

貢獻者指南