[lldb] [llvm] [LLDB][Minidump] Support minidumps where there are multiple exception streams (PR #97470)
Jacob Lalonde via llvm-commits
llvm-commits at lists.llvm.org
Mon Jul 8 14:57:31 PDT 2024
================
@@ -109,7 +109,7 @@ class ProcessMinidump : public PostMortemProcess {
private:
lldb::DataBufferSP m_core_data;
llvm::ArrayRef<minidump::Thread> m_thread_list;
- const minidump::ExceptionStream *m_active_exception;
+ std::unordered_map<uint32_t, minidump::ExceptionStream> m_exceptions_by_tid;
----------------
Jlalond wrote:
This will expose my noviceness in C++, but I struggled that you can't emplace a list of references, so instead I refactored this to return a vector of const pointers.
https://github.com/llvm/llvm-project/pull/97470
More information about the llvm-commits
mailing list