[Lldb-commits] [lldb] [LLDB] Add IsCoreDumping to ProcessInstanceInfo (PR #138580)

Jacob Lalonde via lldb-commits lldb-commits at lists.llvm.org
Tue May 6 08:47:15 PDT 2025


================
@@ -213,6 +213,11 @@ static bool GetStatusInfo(::pid_t Pid, ProcessInstanceInfo &ProcessInfo,
     } else if (Line.consume_front("Tgid:")) {
       Line = Line.ltrim();
       Line.consumeInteger(10, Tgid);
+    } else if (Line.consume_front("CoreDumping:")) {
+      uint32_t coredumping;
+      Line = Line.ltrim();
+      Line.consumeInteger(1, coredumping);
----------------
Jlalond wrote:

Good suggestion, I'll validate the return.

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


More information about the lldb-commits mailing list