[Lldb-commits] [lldb] [lldb] Fix FindProcessImpl() for iOS simulators (PR #139174)

via lldb-commits lldb-commits at lists.llvm.org
Mon Jun 16 11:24:16 PDT 2025


royitaqi wrote:

Hi @JDevlieghere ,

Thank you very much for your #142244. I have rebased this patch on top of that and added assertions into the iOS test case to verify that we can get a list of processes on the iOS simulator.

There is something that I don't think blocks this PR but would like to understand:
1. It seems to me the test binary `a.out` isn't running on the simulator (doesn't appear in `platform process list`).
2. My original plan is to assert that we can find `a.out` in the process list. Because of the above, I make the assertion looser, that it verifies that we can get any process list at all. IMHO it still verifies the patch (that we can now get process list, previously completely nothing), but if we can fix 1 then my assertion can be to find `a.out`.

Thanks,
Roy

https://github.com/llvm/llvm-project/pull/139174


More information about the lldb-commits mailing list