diff options
Diffstat (limited to 'src/tools/wasm-split/wasm-split.cpp')
-rw-r--r-- | src/tools/wasm-split/wasm-split.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/tools/wasm-split/wasm-split.cpp b/src/tools/wasm-split/wasm-split.cpp index 49a15e934..aa21ec2cb 100644 --- a/src/tools/wasm-split/wasm-split.cpp +++ b/src/tools/wasm-split/wasm-split.cpp @@ -452,7 +452,8 @@ void printReadableProfile(const WasmSplitOptions& options) { auto printFnSet = [&](auto funcs, std::string prefix) { for (auto it = funcs.begin(); it != funcs.end(); ++it) { std::cout << prefix << " " - << (options.unescape ? unescape(it->c_str()) : it->c_str()) + << (options.unescape ? unescape(it->toString()) + : it->toString()) << std::endl; } }; |