mirror of
https://github.com/chromium/crashpad.git
synced 2025-01-07 12:25:18 +08:00
24fc801715
getsectionbyname() and getsegmentbyname() do not exist prior to Mac OS X 10.7. These functions are used by util_test MachOImageReader.*. For 10.6 SDK and runtime compatibility, Crashpad needs its own implementations of these functions. This checkin contains unmodified copies of the upstream code. A subsequent checkin will contain the local modifications, which will trim out all unnecessary portions. This is being committed in two parts to make it easier to see what changes are being made to the upstream files. R=rsesek@chromium.org Review URL: https://codereview.chromium.org/564853002