[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:15 PDT 2024


================
@@ -254,6 +280,8 @@ class ProcessInstanceInfo : public ProcessInfo {
   struct timespec m_system_time {};
   struct timespec m_cumulative_user_time {};
   struct timespec m_cumulative_system_time {};
+  std::optional<int8_t> m_priority_value = std::nullopt;
+  bool m_zombie = false;
----------------
clayborg wrote:

making this optional as well would be good. If it isn't set, it means we don't know, but if it is set to true/false we do know. Again, almost all members of this structure could benefit from being std::optional

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


More information about the lldb-commits mailing list