================ @@ -989,6 +989,14 @@ uint32_t Platform::FindProcesses(const ProcessInstanceInfoMatch &match_info, return match_count; } +ProcessInstanceInfoList Platform::GetAllProcesses() { + ProcessInstanceInfoList processes; + ProcessInstanceInfoMatch match; + assert(match.MatchAllProcesses()); ---------------- JDevlieghere wrote:
This ensures that the default constructed `ProcessInstanceInfoMatch` actually matches all processes. This is the method that the implementation keys off of, so it seemed appropriate to have sanity check here. https://github.com/llvm/llvm-project/pull/68378 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits