Index: minidump/minidump_file_writer.cc |
diff --git a/minidump/minidump_file_writer.cc b/minidump/minidump_file_writer.cc |
index 3d321c0b33553a98407205aaa27ee404acd256cf..33c4806c8d2296aa59f244f0dd83bfd114f7c620 100644 |
--- a/minidump/minidump_file_writer.cc |
+++ b/minidump/minidump_file_writer.cc |
@@ -93,6 +93,8 @@ void MinidumpFileWriter::InitializeFromSnapshot( |
auto crashpad_info = make_scoped_ptr(new MinidumpCrashpadInfoWriter()); |
crashpad_info->InitializeFromSnapshot(process_snapshot); |
+ memory_list->AddFromSnapshot(process_snapshot->ExtraMemory()); |
Mark Mentovai
2015/09/25 17:32:32
It’s OK to do this after the crashpad_info stuff,
scottmg
2015/09/25 19:20:34
Hmm, you're right. OK, at the end it is: https://c
|
+ |
// Since the MinidumpCrashpadInfo stream is an extension, it’s safe to not add |
// it to the minidump file if it wouldn’t carry any useful information. |
if (crashpad_info->IsUseful()) { |