[lldb][wasm] Parse DWO section namesMirror ELF section parsing to support DWARF section names fordebug fission.Reviewed By: labathDifferential Revision: https://reviews.llvm.org/D93621
[test] Replace `yaml2obj >` with `yaml2obj -o` and remove unneeded input redirection
[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debuggingAdd a dynamic loader plug-in class for WebAssembly modules.Differential Revision: https://reviews.llvm.org/D72751
Revert "[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging"This patch has a couple of outstanding issues. The test is not python3compatible, and it also seems to fail with python2 (
Revert "[LLDB] Add DynamicLoaderWasmDYLD plugin for WebAssembly debugging"This patch has a couple of outstanding issues. The test is not python3compatible, and it also seems to fail with python2 (at least under somecircumstances) due to an overambitious assertion.This reverts the patch as well as subsequent fixup attempts:014ea9337624fe20aca8892e73b6b3f741d8da9e,f5f70d1c8fbf12249b4b9598f10a10f12d4db029.4697e701b8cb40429818609814c7422e49b2ee07.5c15e8e682e365b3a7fcf35200df79f3fb93b924.3ec28da6d6430a00b46780555a87acd43fcab790.
show more ...
[test] yaml2obj -docnum => --docnum=
[lldb] Try to fix writing outside temp dir from 4bafceced6a7641be7b090229c6ccef22cf55bff
[LLDB] Add SymbolVendorWasm plugin for WebAssembly debuggingAdd plugin class SymbolVendorWasm, with the logic to manage debug symbolsfor Wasm modules.Reviewers: clayborg, labath, aprantl, sbc100
[LLDB] Add SymbolVendorWasm plugin for WebAssembly debuggingAdd plugin class SymbolVendorWasm, with the logic to manage debug symbolsfor Wasm modules.Reviewers: clayborg, labath, aprantl, sbc100, teemperorReviewed By: labathTags: #lldbDifferential Revision: https://reviews.llvm.org/D72650
[LLDB] Add ObjectFileWasm plugin for WebAssembly debuggingSummary:This is the first in a series of patches to enable LLDB debugging ofWebAssembly targets.Current versions of Clang emit (partial
[LLDB] Add ObjectFileWasm plugin for WebAssembly debuggingSummary:This is the first in a series of patches to enable LLDB debugging ofWebAssembly targets.Current versions of Clang emit (partial) DWARF debug information in WebAssemblymodules and we can leverage this debug information to give LLDB the ability todo source-level debugging of Wasm code that runs in a WebAssembly engine.A way to do this could be to use the remote debugging functionalities providedby LLDB via the GDB-remote protocol. Remote debugging can indeed be useful notonly to connect a debugger to a process running on a remote machine, but also toconnect the debugger to a managed VM or script engine that runs locally,provided that the engine implements a GDB-remote stub that offers the ability toaccess the engine runtime internal state.To make this work, the GDB-remote protocol would need to be extended with a fewWasm-specific custom query commands, used to access aspects of the Wasm enginestate (like the Wasm memory, Wasm local and global variables, and so on).Furthermore, the DWARF format would need to be enriched with a few Wasm-specificextensions, here detailed: https://yurydelendik.github.io/webassembly-dwarf.This CL introduce classes **ObjectFileWasm**, a file plugin to represent a Wasmmodule loaded in a debuggee process. It knows how to parse Wasm modules andstore the Code section and the DWARF-specific sections.Reviewers: jasonmolenda, clayborg, labathTags: #lldbDifferential Revision: https://reviews.llvm.org/D71575