mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-09 14:06:33 +00:00
ios: Suppress log-if-missing for kSourceVersion intermediate dump key.
It's not required that LC_SOURCE_VERSION be present in every module, and common for it to be missing. Suppress recording its absence. Fixed: crashpad:443 Change-Id: Iae10c38c78514e78af6c3176cc809d95a3ae3811 Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/4294861 Reviewed-by: Mark Mentovai <mark@chromium.org> Commit-Queue: Justin Cohen <justincohen@chromium.org>
This commit is contained in:
parent
7a997fb253
commit
9830fbf3b4
@ -51,10 +51,13 @@ bool ModuleSnapshotIOSIntermediateDump::Initialize(
|
||||
GetDataStringFromMap(image_data, Key::kName, &name_);
|
||||
GetDataValueFromMap(image_data, Key::kAddress, &address_);
|
||||
GetDataValueFromMap(image_data, Key::kSize, &size_);
|
||||
GetDataValueFromMap(image_data, Key::kSourceVersion, &source_version_);
|
||||
GetDataValueFromMap(image_data, Key::kFileType, &filetype_);
|
||||
|
||||
// These keys are often missing.
|
||||
GetDataValueFromMap(image_data,
|
||||
Key::kSourceVersion,
|
||||
&source_version_,
|
||||
LogMissingDataValueFromMap::kDontLogIfMissing);
|
||||
GetDataValueFromMap(image_data,
|
||||
Key::kTimestamp,
|
||||
×tamp_,
|
||||
|
Loading…
x
Reference in New Issue
Block a user