[Lldb-commits] [lldb] [lldb] Implement WebAssembly debugging (PR #77949)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Tue Feb 20 22:11:17 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)
----------------
clayborg wrote:
It would be great to not use magic numbers. What does `3` really mean? Is there an enum we can use?
https://github.com/llvm/llvm-project/pull/77949
More information about the lldb-commits
mailing list