HomePhabricator

[darwin] use new crash reporter api

Authored by aralisza on Feb 23 2021, 9:23 AM.

Description

[darwin] use new crash reporter api

Add support for the new crash reporter api if the headers are available. Falls back to the old API if they are not available. This change was based on /llvm/lib/Support/PrettyStackTrace.cpp

There is a lit for this behavior here: https://reviews.llvm.org/D96737 but is not included in this diff because it is potentially flaky.

rdar://69767688

Reviewed By: delcypher, yln

Commited by Dan Liew on behalf of Emily Shi.

Differential Revision: https://reviews.llvm.org/D96830

Details

Committed
delcypherFeb 23 2021, 9:23 AM
Reviewer
delcypher
Differential Revision
D96830: [darwin] use new crash reporter api
Parents
rGb6099fa515b1: [darwin][asan] add test for application specific information in crash logs
Branches
Unknown
Tags
Unknown