From 4258b24bcc3c493ee807c542a7f99dd7f2977ef7 Mon Sep 17 00:00:00 2001 From: Xu Jun <693788454@qq.com> Date: Wed, 15 Dec 2021 18:38:27 +0800 Subject: [PATCH] add lldb patch to attribution (#900) --- ATTRIBUTIONS.md | 8 +++++--- doc/source_debugging.md | 2 ++ 2 files changed, 7 insertions(+), 3 deletions(-) diff --git a/ATTRIBUTIONS.md b/ATTRIBUTIONS.md index e64c972cd..d34c29068 100644 --- a/ATTRIBUTIONS.md +++ b/ATTRIBUTIONS.md @@ -6,10 +6,11 @@ WAMR project reused some components from other open source project: - **contiki-ng**: for the coap protocol implementation - **freebsd libm**: used in core/shared/platform/alios/bh_math.c - **littlevgl**: for the gui samples and wrapped the wasm graphic layer -- **llvm**. for the AOT/JIT compilation -- **wasm-c-api**. to implement the C-APIs of wasm. using headers and sameples +- **llvm**: for the AOT/JIT compilation +- **wasm-c-api**: to implement the C-APIs of wasm. using headers and sameples - **wasmtime**: for the wasi libc implementation -- **zephyr**. for several platform specific examples +- **zephyr**: for several platform specific examples +- **WebAssembly debugging patch for LLDB**: for extending the ability of LLDB to support wasm debugging The WAMR fast interpreter is a clean room development. We would acknowledge the inspirations by [WASM3](https://github.com/wasm3/wasm3) open source project for the approach of pre-calculated oprand stack location. @@ -23,6 +24,7 @@ The WAMR fast interpreter is a clean room development. We would acknowledge the | wasm-c-api | ac9b509f4df86e40e56e9b01f3f49afab0100037 | c9d31284651b975f05ac27cee0bab1377560b87e | https://github.com/WebAssembly/wasm-c-api | | | wasmtime | unspecified | v0.26.0 | https://github.com/bytecodealliance/wasmtime | | | zephyr | unspecified | v2.5.0 | https://www.zephyrproject.org/ | https://www.cvedetails.com/vendor/19255/Zephyrproject.html | +| WebAssembly debugging patch for LLDB | unspecified | unspecified | https://reviews.llvm.org/D78801 | | ## Licenses diff --git a/doc/source_debugging.md b/doc/source_debugging.md index 4982e1cc2..afb03ae9b 100644 --- a/doc/source_debugging.md +++ b/doc/source_debugging.md @@ -2,6 +2,8 @@ WAMR supports source level debugging based on DWARF (normally used in C/C++/Rust), source map (normally used in AssemblyScript) is not supported. +**The lldb's ability to debug wasm application is based on the patch [Add class WasmProcess for WebAssembly debugging](https://reviews.llvm.org/D78801). Thanks very much to the author @paolosev for such a great work!** + ## Build wasm application with debug information To debug your application, you need to compile them with debug information. You can use `-g` option when compiling the source code if you are using wasi-sdk (also work for emcc and rustc): ``` bash