bytecodealliance / wasmtime

A fast and secure runtime for WebAssembly
https://wasmtime.dev/
Apache License 2.0
15.21k stars 1.28k forks source link

Recommend `-O opt-level=0` when debugging wasm #8755

Closed alexcrichton closed 3 months ago

alexcrichton commented 3 months ago

This improves inspection of local variables by avoiding the egraph pass which doesn't have full fidelity in terms of preserving debug information.