WASM add option to build with native exceptions

Desktop / LibreOffice - Jan-Marek Glogowski [fbihome.de] - 19 January 2022 15:13 UTC

Currently disabled, as literally no runtime has a working implementation. It also currently conflicts with LLVM's SjLj (AKA setjmp / longjump) when generating WASM bytecode, but the only offending code doesn't use exceptions, so this can be avoided in general.

Change-Id: I2b338f3529e7350d54a7950772c6e7aae2282fe7 Reviewed-on: https://gerrit.libreoffice.org/c/core/+/128600

ae22f7d06246 WASM add option to build with native exceptions
config_host.mk.in | 1 +
configure.ac | 15 +++++++++++++++
solenv/gbuild/platform/EMSCRIPTEN_INTEL_GCC.mk | 9 +++++++--
vcl/Library_vcl.mk | 16 ++++++++++++++--
4 files changed, 37 insertions(+), 4 deletions(-)

Upstream: cgit.freedesktop.org


  • Share