| Index: src/client/linux/minidump_writer/linux_dumper.h
|
| diff --git a/src/client/linux/minidump_writer/linux_dumper.h b/src/client/linux/minidump_writer/linux_dumper.h
|
| index f7fe1dd9dfa39ca6c9b9cd32b994dba9ac574f5c..574af9e5a9de3d277b71f9ccf30d8f49aec9253f 100644
|
| --- a/src/client/linux/minidump_writer/linux_dumper.h
|
| +++ b/src/client/linux/minidump_writer/linux_dumper.h
|
| @@ -49,6 +49,7 @@
|
|
|
| #include "client/linux/dump_writer_common/mapping_info.h"
|
| #include "client/linux/dump_writer_common/thread_info.h"
|
| +#include "common/linux/file_id.h"
|
| #include "common/memory.h"
|
| #include "google_breakpad/common/minidump_format.h"
|
|
|
| @@ -126,10 +127,13 @@ class LinuxDumper {
|
| // Generate a File ID from the .text section of a mapped entry.
|
| // If not a member, mapping_id is ignored. This method can also manipulate the
|
| // |mapping|.name to truncate "(deleted)" from the file name if necessary.
|
| + // |identifier_length| must be set to the length of the |identifier| buffer.
|
| + // If the buffer is not large enough to contain the identifer, return false
|
| + // and set |identifier_length| to the required length.
|
| bool ElfFileIdentifierForMapping(const MappingInfo& mapping,
|
| bool member,
|
| unsigned int mapping_id,
|
| - uint8_t identifier[sizeof(MDGUID)]);
|
| + wasteful_vector<uint8_t>& identifier);
|
|
|
| uintptr_t crash_address() const { return crash_address_; }
|
| void set_crash_address(uintptr_t crash_address) {
|
|
|