Index: compat/non_win/dbghelp.h |
diff --git a/compat/non_win/dbghelp.h b/compat/non_win/dbghelp.h |
index 89b8e105cd009f1c42ce2aafdbf9f5bade60cf6e..8d1935c10dea8b731df66a7655c5bd3653210eb7 100644 |
--- a/compat/non_win/dbghelp.h |
+++ b/compat/non_win/dbghelp.h |
@@ -167,6 +167,9 @@ enum MINIDUMP_STREAM_TYPE { |
//! MINIDUMP_MISC_INFO::Flags1, that indicates which data is present and |
//! valid. |
MiscInfoStream = 15, |
+ |
+ //! \brief The stream type for MINIDUMP_MEMORY_INFO_LIST. |
+ MemoryInfoListStream = 16, |
}; |
//! \brief Information about the CPU (or CPUs) that ran the process that the |
@@ -874,6 +877,21 @@ struct __attribute__((packed, aligned(4))) MINIDUMP_MEMORY_INFO { |
uint32_t __alignment2; |
}; |
+//! \brief Contains a list of memory regions. |
+struct __attribute__((packed, aligned(4))) MINIDUMP_MEMORY_INFO_LIST { |
+ //! \brief The size of the header data for the stream, in bytes. This is |
+ //! generally sizeof(MINIDUMP_MEMORY_INFO_LIST). |
+ uint32_t SizeOfHeader; |
+ |
+ //! \brief The size of each entry following the header, in bytes. This is |
+ //! generally sizeof(MINIDUMP_MEMORY_INFO). |
+ uint32_t SizeOfEntry; |
+ |
+ //! \brief The number of entries in the stream. These are generally |
+ //! MINIDUMP_MEMORY_INFO structures. The entries follow the header. |
+ uint64_t NumberOfEntries; |
+}; |
+ |
//! \brief Minidump file type values for MINIDUMP_HEADER::Flags. These bits |
//! describe the types of data carried within a minidump file. |
enum MINIDUMP_TYPE { |