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

Unified Diff: snapshot/thread_snapshot.h

Issue 1364803004: win: Save contents of TEBs allowing !teb and !gle to work in windbg (Closed) Base URL: https://chromium.googlesource.com/crashpad/crashpad@dump-without-crashing
Patch Set: . Created 5 years, 3 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 | « snapshot/test/test_thread_snapshot.cc ('k') | snapshot/win/process_reader_win.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: snapshot/thread_snapshot.h
diff --git a/snapshot/thread_snapshot.h b/snapshot/thread_snapshot.h
index d43fc6e5c8ef787e115e5aab8439654d07f9dedb..4d732578e54eb17a43018336073c6741ffd68d39 100644
--- a/snapshot/thread_snapshot.h
+++ b/snapshot/thread_snapshot.h
@@ -17,6 +17,8 @@
#include <stdint.h>
+#include <vector>
+
namespace crashpad {
struct CPUContext;
@@ -62,6 +64,15 @@ class ThreadSnapshot {
//! \brief Returns the base address of a region used to store thread-specific
//! data.
virtual uint64_t ThreadSpecificDataAddress() const = 0;
+
+ //! \brief Returns a vector of additional memory blocks that should be
+ //! included in a minidump.
+ //!
+ //! \return A vector of MemorySnapshot objects that will be included in the
+ //! crash dump. The caller does not take ownership of these objects, they
+ //! are scoped to the lifetime of the ThreadSnapshot object that they
+ //! were obtained from.
+ virtual std::vector<const MemorySnapshot*> ExtraMemory() const = 0;
};
} // namespace crashpad
« no previous file with comments | « snapshot/test/test_thread_snapshot.cc ('k') | snapshot/win/process_reader_win.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698