Reproduction:
1) Build the WasmDebugging test (as an example of a hello world app) for Browser.
2) wasm-objdump -j Code -x WasmDebugging.wasm
Observe a bunch of ::itanium_demangle:: functions being pulled in by __cxa_demangle (which is ultimately an export).
A quick estimate shows their size to add up to 62K (!) of code, and it's totally useless, because the names are already stored demangled in the names section, and because we don't use C++ EH.
Reproduction: 1) Build the
WasmDebugging
test (as an example of a hello world app) for Browser. 2)wasm-objdump -j Code -x WasmDebugging.wasm
Observe a bunch of
::itanium_demangle::
functions being pulled in by__cxa_demangle
(which is ultimately an export).A quick estimate shows their size to add up to 62K (!) of code, and it's totally useless, because the names are already stored demangled in the names section, and because we don't use C++ EH.