chelcassanova wrote:

> What happens when you don't put this annotation on one of these? It generates 
> something I suppose, but it fails when you use lldb-rpc?

Correct, without an annotation (or in the earlier case, without having a given 
function in the exception list), a function will still be generated on the 
client and server side. However, when we then need to encode function 
parameters on the client-side, we need the length to determine how much space 
needs to be allocated. Without this annotation, we don't allocate the correct 
amount of space for the parameter before encoding which leads to errors when 
using lldb-rpc.

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

Reply via email to