================
@@ -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
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to