add lldb patch to attribution (#900)

This commit is contained in:
Xu Jun
2021-12-15 18:38:27 +08:00
committed by GitHub
parent 45ace31d2b
commit 4258b24bcc
2 changed files with 7 additions and 3 deletions

View File

@ -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