felipepiovezan wrote:

> Could you fake a process from C++ and write it as a unit test, is that enough 
> to get a `Process` object that's usable?

We could employ a similar technique where we override the read memory method. 
However, this would not be using the new MultiMemRead packet for processes that 
support it, so that's my motivation for making an API test.

> add this to the SB API just for testing purposes

I agree with all the problems you listed above, but, while for now this is just 
for testing purposes, it is a legitimately useful method for any clients of the 
SB API.

https://github.com/llvm/llvm-project/pull/172026
_______________________________________________
lldb-commits mailing list
[email protected]
https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits

Reply via email to