[Lldb-commits] [lldb] [lldb] Expose SBPlatform::GetAllProcesses to the SB API (PR #68378)

Med Ismail Bennani via lldb-commits lldb-commits at lists.llvm.org
Thu Oct 5 21:19:18 PDT 2023


================
@@ -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());
----------------
medismailben wrote:

why do we need this assert here ?

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


More information about the lldb-commits mailing list