bytecodealliance / StarlingMonkey

The StarlingMonkey JS runtime
Apache License 2.0
96 stars 14 forks source link

RelWithDebInfo debug names not working #173

Open guybedford opened 1 week ago

guybedford commented 1 week ago

Unfortunately, building with RelWithDebInfo still doesn't seem to provide debugging information properly.

A simple test of this is to run a build with RelWithDebInfo and then print the starling-raw.wasm binary with wasm-tools print - function names are fully lost in the process.

Resolving this is a prerequisite to getting debugging going for ComponentizeJS in https://github.com/bytecodealliance/ComponentizeJS/issues/137.

guybedford commented 1 week ago

This may be a bug in wasm-opt.