1.39.11 was just released, see the changelog for notes, https://github.com/emscripten-core/emscripten/blob/master/ChangeLog.md#v13911-03202020
One specific thing you might notice is that we now have DWARF support. There isn't yet full browser support, so you can't see everything working yet. But on the emscripten side we are basically ready for when browsers do have that support, as of this release. The way you might notice this for now is that -g will emit DWARF, the same as a normal compiler would. Specifically, compiling source files with -g will emit full DWARF in object files, and linking with -g will preserve full DWARF in the final wasm executable (it will also update it properly through binaryen optimizations). * If you *don't* build or link with -g, you will see no change. * If you build object files *with* -g but link *without* -g, then you may notice a small change in compile times, as the object files are larger with the DWARF info (that then gets removed at link). * If you *do* link with -g, you will see an increase in the final wasm file, due to the DWARF info. Again, this brings us closer to how compilers normally work, so there shouldn't be anything that surprising here, but it is a change compared to before, where we didn't bother emitting DWARF as browsers didn't support it (which they hopefully soon will, but again, not yet). Note btw that you can use --profiling or --profiling-funcs for a lot of basic debugging, as those preserve function names so stack traces are meaningful (and the former flag also preserves whitespace in JS so that part of the stack trace makes sense too). That is, it's always been true that you don't need -g if all you want are function names and stack traces, and that's still true. - Alon -- You received this message because you are subscribed to the Google Groups "emscripten-discuss" group. To unsubscribe from this group and stop receiving emails from it, send an email to [email protected]. To view this discussion on the web visit https://groups.google.com/d/msgid/emscripten-discuss/CAEX4NpTa1_%3DDwLMwXBZj8hy-C-RxVSiipQ9bU5o8GGqAjpVijg%40mail.gmail.com.
