[Lldb-commits] [lldb] [lldb] Adds additional fields to ProcessInfo (PR #91544)

Greg Clayton via lldb-commits lldb-commits at lists.llvm.org
Fri May 10 09:26:16 PDT 2024


================
@@ -144,6 +144,19 @@ class ProcessInstanceInfo : public ProcessInfo {
     long int tv_usec = 0;
   };
 
+  enum class ProcessState {
+    Unknown,
+    Dead,
+    DiskSleep,
+    Idle,
+    Paging,
+    Parked,
+    Running,
+    Sleeping,
+    TracedOrStopped,
+    Zombie,
+  };
+
----------------
clayborg wrote:

There doesn't seem to be a reason for this to be here, so if we can move it back, that would be great. Ideally this file would be OS agnostic, but it started out a bit unix specific in the first place.

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


More information about the lldb-commits mailing list