[libc++abi] Make sure we link in CrashReporterClient.a when it's present
authorLouis Dionne <ldionne@apple.com>
Tue, 2 Jun 2020 16:21:01 +0000 (12:21 -0400)
committerLouis Dionne <ldionne@apple.com>
Tue, 2 Jun 2020 16:23:53 +0000 (12:23 -0400)
commit6f6c8a2d96f580c79e00c43d0ec368346c7bff49
treed416fdb87943a3b54245530fba59e8db6e2fea95
parent0beddbf2ccbef50ecfb8af2b2c5d50fd938d5eec
[libc++abi] Make sure we link in CrashReporterClient.a when it's present

When building the system libc++abi for Apple, we use CrashReporterClient
to provide better crash logs when calling abort(). This is exemplified by
the fact that we test for the presence of <CrashReporterClient.h> in
abort_message.cpp.

However, we must link against CrashReporterClient.a in order to get that
functionality, otherwise we get a linking error.
libcxxabi/src/CMakeLists.txt