Read annotation objects from the client when producing snapshots.
This wires up the annotation objects system of the client to the snapshot production and minidump writing facilities. Bug: crashpad:192 Change-Id: If7bb7625b140d71a15b84729372cbd0fd4bc63ef Reviewed-on: https://chromium-review.googlesource.com/749870 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Robert Sesek <rsesek@chromium.org>
This commit is contained in:
Родитель
79e2dd843e
Коммит
b6a3d91342
|
@ -187,7 +187,9 @@ std::map<std::string, std::string> ModuleSnapshotMac::AnnotationsSimpleMap()
|
|||
|
||||
std::vector<AnnotationSnapshot> ModuleSnapshotMac::AnnotationObjects() const {
|
||||
INITIALIZATION_STATE_DCHECK_VALID(initialized_);
|
||||
return {};
|
||||
MachOImageAnnotationsReader annotations_reader(
|
||||
process_reader_, mach_o_image_reader_, name_);
|
||||
return annotations_reader.AnnotationsList();
|
||||
}
|
||||
|
||||
std::set<CheckedRange<uint64_t>> ModuleSnapshotMac::ExtraMemoryRanges() const {
|
||||
|
|
|
@ -192,7 +192,9 @@ std::map<std::string, std::string> ModuleSnapshotWin::AnnotationsSimpleMap()
|
|||
|
||||
std::vector<AnnotationSnapshot> ModuleSnapshotWin::AnnotationObjects() const {
|
||||
INITIALIZATION_STATE_DCHECK_VALID(initialized_);
|
||||
return {};
|
||||
PEImageAnnotationsReader annotations_reader(
|
||||
process_reader_, pe_image_reader_.get(), name_);
|
||||
return annotations_reader.AnnotationsList();
|
||||
}
|
||||
|
||||
std::set<CheckedRange<uint64_t>> ModuleSnapshotWin::ExtraMemoryRanges() const {
|
||||
|
|
Загрузка…
Ссылка в новой задаче