Index: minidump/minidump_file_writer.cc |
diff --git a/minidump/minidump_file_writer.cc b/minidump/minidump_file_writer.cc |
index b9a9eeab3ae642c6df579172d7823046b332a5a1..9b540d32eac37f983f9930beefe4f07157862448 100644 |
--- a/minidump/minidump_file_writer.cc |
+++ b/minidump/minidump_file_writer.cc |
@@ -28,6 +28,7 @@ |
#include "minidump/minidump_thread_id_map.h" |
#include "minidump/minidump_thread_writer.h" |
#include "minidump/minidump_writer_util.h" |
+#include "snapshot/exception_snapshot.h" |
#include "snapshot/process_snapshot.h" |
#include "util/file/file_writer.h" |
#include "util/numeric/safe_assignment.h" |
@@ -119,6 +120,8 @@ void MinidumpFileWriter::InitializeFromSnapshot( |
} |
memory_list->AddFromSnapshot(process_snapshot->ExtraMemory()); |
+ if (exception_snapshot) |
+ memory_list->AddFromSnapshot(exception_snapshot->ExtraMemory()); |
AddStream(std::move(memory_list)); |
} |