diff options
Diffstat (limited to 'src/client/linux/dump_writer_common')
-rw-r--r-- | src/client/linux/dump_writer_common/mapping_info.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/client/linux/dump_writer_common/mapping_info.h b/src/client/linux/dump_writer_common/mapping_info.h index c206b504..5f247cfd 100644 --- a/src/client/linux/dump_writer_common/mapping_info.h +++ b/src/client/linux/dump_writer_common/mapping_info.h @@ -30,8 +30,12 @@ #ifndef CLIENT_LINUX_DUMP_WRITER_COMMON_MAPPING_INFO_H_ #define CLIENT_LINUX_DUMP_WRITER_COMMON_MAPPING_INFO_H_ +#include <limits.h> +#include <list> #include <stdint.h> +#include "google_breakpad/common/minidump_format.h" + namespace google_breakpad { // One of these is produced for each mapping in the process (i.e. line in @@ -44,6 +48,14 @@ struct MappingInfo { char name[NAME_MAX]; }; +struct MappingEntry { + MappingInfo first; + uint8_t second[sizeof(MDGUID)]; +}; + +// A list of <MappingInfo, GUID> +typedef std::list<MappingEntry> MappingList; + } // namespace google_breakpad #endif // CLIENT_LINUX_DUMP_WRITER_COMMON_MAPPING_INFO_H_ |