JDevlieghere wrote:

> I'm also not sure the number of operands is ever useful without having the 
> encoding ready, but maybe for DIExpression it actually is (because there we 
> always use the same encoding).

Yeah, I came to the same conclusion, which is why LLDB isn't using the data. I 
primarily added it to avoid mistakes where someone confuses the number of 
operands with the arity. 

https://github.com/llvm/llvm-project/pull/94679
_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to