================ @@ -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 _______________________________________________ lldb-commits mailing list lldb-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/lldb-commits