[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 [[ https://github.com/llvm/llvm-project/blob/0164d546d2691c439fc06c8fff126224276c2d02/llvm/lib/Support/PrettyStackTrace.cpp#L111 | /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
Loading
Please register or sign in to comment