[llvm] [Minidump] Support multiple exceptions in a minidump (PR #107319)

Pavel Labath via llvm-commits llvm-commits at lists.llvm.org
Thu Sep 5 01:22:39 PDT 2024


================
@@ -152,8 +166,8 @@ MinidumpFile::create(MemoryBufferRef Source) {
       return createError("Duplicate stream type");
   }
 
-  return std::unique_ptr<MinidumpFile>(
-      new MinidumpFile(Source, Hdr, *ExpectedStreams, std::move(StreamMap)));
+  return std::unique_ptr<MinidumpFile>(new MinidumpFile(
+      Source, Hdr, *ExpectedStreams, std::move(StreamMap), ExceptionStreams));
----------------
labath wrote:

```suggestion
      Source, Hdr, *ExpectedStreams, std::move(StreamMap), std::move(ExceptionStreams)));
```

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


More information about the llvm-commits mailing list