mirror of
https://github.com/chromium/crashpad.git
synced 2024-12-29 08:39:44 +08:00
b3d84e0d05
On macOS 11, system libraries are no longer present on disk as individual Mach-O files, but are shipped exclusively in the dyld shared cache. This affects tests that verify the list of modules loaded into a process. The new _dyld_shared_cache_contains_path function can be used to determine whether a path exists in the dyld shared cache. Bug: crashpad:347 Test: crashpad_snapshot_test ProcessReaderMac.{Self,Child}Modules Change-Id: I19402e45701caeb850bdafd701ccbba4ef9c60bc Reviewed-on: https://chromium-review.googlesource.com/c/crashpad/crashpad/+/2384322 Commit-Queue: Mark Mentovai <mark@chromium.org> Reviewed-by: Robert Sesek <rsesek@chromium.org>