[Lldb-commits] [lldb] [llvm] [LLDB][Minidump] Support minidumps where there are multiple exception streams (PR #97470)

via lldb-commits lldb-commits at lists.llvm.org
Fri Jul 5 11:37:13 PDT 2024


================
@@ -464,8 +464,8 @@ Stream::create(const Directory &StreamDesc, const object::MinidumpFile &File) {
   StreamKind Kind = getKind(StreamDesc.Type);
   switch (Kind) {
   case StreamKind::Exception: {
-    Expected<const minidump::ExceptionStream &> ExpectedExceptionStream =
-        File.getExceptionStream();
+    Expected<minidump::ExceptionStream> ExpectedExceptionStream =
----------------
jeffreytan81 wrote:

Why are you changing this to return by value copy? 

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


More information about the lldb-commits mailing list