OSDN Git Service

Fix detection of backtrace() availability on FreeBSD
authorEd Maste <emaste@freebsd.org>
Wed, 12 Apr 2017 13:51:00 +0000 (13:51 +0000)
committerEd Maste <emaste@freebsd.org>
Wed, 12 Apr 2017 13:51:00 +0000 (13:51 +0000)
commit944d939ce13980e02d603df3038eb7c4b8feac84
tree4bcbfe9c66cec36e663e0ed2341d3cddbe1331db
parent0b09474fe1a4c1519e7a299e79c578cbe5b60a91
Fix detection of backtrace() availability on FreeBSD

On FreeBSD backtrace is not part of libc and depends on libexecinfo
being available. Instead of using manual checks we can use the builtin
CMake module FindBacktrace.cmake to detect availability of backtrace()
in a portable way.

Patch By: Alex Richardson
Differential Revision: https://reviews.llvm.org/D27143

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@300062 91177308-0d34-0410-b5e6-96231b3b80d8
cmake/config-ix.cmake
include/llvm/Config/config.h.cmake
lib/Support/CMakeLists.txt
lib/Support/Unix/Signals.inc