[Lldb-commits] [lldb] [llvm] [LLDB][Minidump] Add breakpoint stop reasons to the minidump. (PR #108448)
Jacob Lalonde via lldb-commits
lldb-commits at lists.llvm.org
Fri Sep 27 11:26:01 PDT 2024
================
@@ -686,16 +692,10 @@ Status MinidumpFileBuilder::AddExceptions() {
for (const ThreadSP &thread_sp : thread_list) {
StopInfoSP stop_info_sp = thread_sp->GetStopInfo();
bool add_exception = false;
- if (stop_info_sp) {
- switch (stop_info_sp->GetStopReason()) {
- case eStopReasonSignal:
- case eStopReasonException:
+ if (stop_info_sp && thread_stop_reasons.count(stop_info_sp->GetStopReason()) > 0) {
add_exception = true;
- break;
- default:
- break;
- }
}
+
----------------
Jlalond wrote:
So I ended up just slapping the description in there and setting the flags with an LLDB flag, thoughts?
https://github.com/llvm/llvm-project/pull/108448
More information about the lldb-commits
mailing list