[Lldb-commits] [lldb] [lldb][test] Add support for building Wasm test inferiors (PR #192872)

Jonas Devlieghere via lldb-commits lldb-commits at lists.llvm.org
Mon Apr 20 08:42:33 PDT 2026


================
@@ -0,0 +1,14 @@
+USE_SYSTEM_STDLIB = 1
+
+ifneq "$(RESOURCE_DIR)" ""
+ARCH_CFLAGS += -resource-dir $(RESOURCE_DIR)
+endif
+
+ARCH_CXXFLAGS += \
+	-fno-exceptions
----------------
JDevlieghere wrote:

The WASI SDK I'm iterating with didn't have C++ exception support, but it seems like it was very recently added to WASI so we may be able to start using it in the (near) future: https://github.com/WebAssembly/wasi-sdk/issues/565

https://github.com/llvm/llvm-project/pull/192872


More information about the lldb-commits mailing list