timotheecour added a comment.

> Actually, this is not the correct interface is it? The returned pointer 
> should point to newly allocated memory using malloc, right?
>  Good to document that somewhere.

not 100% sure what you mean in that comment but I just pushed a commit that 
clarifies that point: 'The returned pointer should be allocated via malloc and 
owned by the caller' ; the reference implementation of liblldbplugin does the 
right thing.


https://reviews.llvm.org/D44321



_______________________________________________
lldb-commits mailing list
lldb-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to