mirror of
https://github.com/chromium/crashpad.git
synced 2025-03-10 14:46:07 +00:00
Both an SDK check and a runtime OS version check need to guard the use of task_dyld_info_data_t::all_image_info_format. The SDK check, which was already present, ensures that the field and macro constants are present in the SDK. The runtime check is also necessary. This bug was exposed in a 10.10 SDK and 10.6 deployment target build. TEST=crashpad_snapshot_test ProcessTypes.DyldImagesSelf BUG=chromium:463170 R=erikchen@chromium.org, rsesek@chromium.org Review URL: https://codereview.chromium.org/1277523002 .