You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Don't strip debug info in unoptimized builds without -g (#12016)
We used to always run wasm-opt's --strip-debug when -g was not
specified, which would strip out DWARF as well as the Name section.
This changes us to leave it alone. This has no effect on release builds
(-O1+) and no effect on proper debug builds (-O0 -g), but does have
an effect on unoptimized builds (-O0) without -g, which may now contain
DWARF or the Name section now, depending on how clang and wasm-ld
were invoked.
Part of reducing unnecessary work after link, and aligning us more
with what LLVM tools normally do, see
WebAssembly/binaryen#3043
0 commit comments