[all-commits] [llvm/llvm-project] 6f6c8a: [libc++abi] Make sure we link in CrashReporterClie...

Louis Dionne via All-commits all-commits at lists.llvm.org
Tue Jun 2 09:27:25 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 6f6c8a2d96f580c79e00c43d0ec368346c7bff49
      https://github.com/llvm/llvm-project/commit/6f6c8a2d96f580c79e00c43d0ec368346c7bff49
  Author: Louis Dionne <ldionne at apple.com>
  Date:   2020-06-02 (Tue, 02 Jun 2020)

  Changed paths:
    M libcxxabi/src/CMakeLists.txt

  Log Message:
  -----------
  [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.




More information about the All-commits mailing list