[lldb] [llvm] [LLDB][Minidump] Support minidumps where there are multiple exception streams (PR #97470)
Pavel Labath via llvm-commits
llvm-commits at lists.llvm.org
Wed Aug 14 07:15:39 PDT 2024
================
@@ -142,6 +164,15 @@ MinidumpFile::create(MemoryBufferRef Source) {
continue;
}
+ // We treat exceptions differently here because the LLDB minidump
+ // makes some assumptions about uniqueness, all the streams other than
+ // exceptions are lists. But exceptions are not a list, they are single
+ // streams that point back to their thread So we will omit them here, and
+ // will find them when needed in the MinidumpFile.
+ if (Type == StreamType::Exception) {
+ continue;
----------------
labath wrote:
How about storing the of exception streams inside some (vector) member?
https://github.com/llvm/llvm-project/pull/97470
More information about the llvm-commits
mailing list