Re: [lldb-dev] Any plan to support to debug Webassembly file?

2019-09-09 Thread Terry Guo via lldb-dev
On Mon, Sep 9, 2019 at 10:59 PM Greg Clayton wrote: > > > On Sep 9, 2019, at 7:07 AM, Terry Guo via lldb-dev < > lldb-dev@lists.llvm.org> wrote: > > Hi Jim, > > Thanks for your help. I implemented a WASM file plugin under folder > Plugins/ObjectFile/WASM. Now the

Re: [lldb-dev] Any plan to support to debug Webassembly file?

2019-09-09 Thread Terry Guo via lldb-dev
ly set the breakpoint. Thanks in advance. BR, Terry On Wed, Aug 28, 2019 at 1:27 AM Jim Ingham wrote: > > You would need to implement an ObjectFile and SymbolFile plugin for your .wasm files for lldb to make a Target for them. > > Jim > > > > On Aug 26, 2019, at

Re: [lldb-dev] Any plan to support to debug Webassembly file?

2019-08-26 Thread Terry Guo via lldb-dev
t LLDB can run the wasm module itself like an >> executable and then run it/step through it/inspect it/etc.? >> >> Cheers, >> - Raphael >> >> > On 26. Aug 2019, at 11:47, Terry Guo via lldb-dev >> > wrote: >> > >> > Hi there, >> &

[lldb-dev] Any plan to support to debug Webassembly file?

2019-08-26 Thread Terry Guo via lldb-dev
Hi there, I am working on a project which involves compiling C++ source file to Webassembly byte code file with LLVM. The LLVM works well and can generate wasm byte code file with DWARF debug sections like .debug_line. I can run the generated wasm file with my wasm virtual machine. However I find