On Thu, Jan 30, 2020 at 11:38 PM Benjamin Golinvaux <[email protected]> wrote:
> *"Beware that you are on the bleeding edge if you do this."* > > Is it somehow possible to disable the binaryen transformations in the > debug builds, > You can link with -O0, which will prevent optimizations at link time, including binaryen. I'm proposing we improve this in https://github.com/emscripten-core/emscripten/issues/10325 so that I do not need to switch to bleeding edge and can use Dwarf in my > production-tested version? Is this -gforce_dwarf flag only used in these > binaryen transformations ? > -gforce_dwarf is an emscripten flag that makes it tell both LLVM and Binaryen to emit DWARF and update it. Currently if you want DWARF you need that flag, but see that link above, I'd like to remove it and make this all simpler. It might be worth waiting for that proposal before starting to use -gforce_dwarf, hopefully it will happen very soon. > Thank you. > > > > -- > 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/8239c297-3264-49ac-8552-9e02652ee241%40googlegroups.com > <https://groups.google.com/d/msgid/emscripten-discuss/8239c297-3264-49ac-8552-9e02652ee241%40googlegroups.com?utm_medium=email&utm_source=footer> > . > -- 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/CAEX4NpS9FaXtb_YVsuUg%2B6xEYmWy%2B%3D7G5qga4QKaMaqWqzpSpw%40mail.gmail.com.
