[PATCH] D52634: [WIP] [WebAssembly] Add DBG_VALUE with local operands location in WebAssemblyExplicitLocals pass
Yury Delendik via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Fri Nov 9 11:15:05 PST 2018
yurydelendik added a comment.
There was a question about how easy it will be to reuse or modify LLDB to use with such extension (DW_OP_WASM_location). I looked at DWARFExpression::Evaluate <https://github.com/llvm-mirror/lldb/blob/master/source/Expression/DWARFExpression.cpp#L1315> and, I think, it will not be a problem to add support for that. It might be even easier than try to emulate registers mapping to some WASM local or stack operand.
I added DWARF data visualization is the wasm file to the https://wasdk.github.io/wasmcodeexplorer/. Here is a comparison of before and after the patch: F7526195: Screen Shot 2018-11-09 at 12.58.41 PM.png <https://reviews.llvm.org/F7526195>
Repository:
rL LLVM
https://reviews.llvm.org/D52634
More information about the llvm-commits
mailing list