[Lldb-commits] [lldb] [lldb] Implement WebAssembly debugging (PR #77949)

Paolo Severini via lldb-commits lldb-commits at lists.llvm.org
Thu Feb 22 07:05:01 PST 2024


================
@@ -346,6 +346,15 @@ static offset_t GetOpcodeDataSize(const DataExtractor &data,
     return (offset - data_offset) + subexpr_len;
   }
 
+  case DW_OP_WASM_location: {
+    uint8_t wasm_op = data.GetU8(&offset);
+    if (wasm_op == 3)
----------------
paolosevMSFT wrote:

I will add an enum in a new header file lldb/source/Plugins/SymbolFile/DWARF/DWARFWasm.h.

https://github.com/llvm/llvm-project/pull/77949


More information about the lldb-commits mailing list