[Lldb-commits] [lldb] [LLDB][Minidump] Add breakpoint stop reasons to the minidump. (PR #108448)
Greg Clayton via lldb-commits
lldb-commits at lists.llvm.org
Thu Sep 12 14:37:16 PDT 2024
================
@@ -54,6 +54,13 @@ using namespace lldb;
using namespace lldb_private;
using namespace llvm::minidump;
+// Set of all the stop reasons minidumps will collect.
+const std::unordered_set<lldb::StopReason> MinidumpFileBuilder::thread_stop_reasons {
+ lldb::StopReason::eStopReasonException,
+ lldb::StopReason::eStopReasonSignal,
+ lldb::StopReason::eStopReasonBreakpoint,
----------------
clayborg wrote:
I would change `lldb::StopReason::eStopReasonBreakpoint` to `lldb::StopReason::eStopReasonLLDB` so we can encoded all the stuff we need. Then just encode all threads with a stop reason along with the needed data. I will detail more info below
https://github.com/llvm/llvm-project/pull/108448
More information about the lldb-commits
mailing list