Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(659)

Unified Diff: minidump/minidump_file_writer.cc

Issue 1533183002: win: Capture some memory pointed at by context (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@master
Patch Set: mac Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « minidump/minidump_exception_writer.h ('k') | snapshot/exception_snapshot.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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));
}
« no previous file with comments | « minidump/minidump_exception_writer.h ('k') | snapshot/exception_snapshot.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698