summaryrefslogtreecommitdiff
path: root/cmake
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2012-09-01 20:50:18 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2012-09-01 20:50:18 +0000
commit8dce5b600494a6a3e1e1b157f038d97bb3dc4aa3 (patch)
treec91021fead9436d1e18d6b5b5f8d1645cdf89f4f /cmake
parent89f49808ee79eebbc3267b6c595514d4ca1f3247 (diff)
downloadllvm-8dce5b600494a6a3e1e1b157f038d97bb3dc4aa3.tar.gz
llvm-8dce5b600494a6a3e1e1b157f038d97bb3dc4aa3.tar.bz2
llvm-8dce5b600494a6a3e1e1b157f038d97bb3dc4aa3.tar.xz
PR13689: Check for backtrace(3) in the cmake build.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@163074 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'cmake')
-rwxr-xr-xcmake/config-ix.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/cmake/config-ix.cmake b/cmake/config-ix.cmake
index 85af1f54db..9637363d38 100755
--- a/cmake/config-ix.cmake
+++ b/cmake/config-ix.cmake
@@ -93,6 +93,7 @@ endif()
# function checks
check_symbol_exists(arc4random "stdlib.h" HAVE_ARC4RANDOM)
+check_symbol_exists(backtrace "execinfo.h" HAVE_BACKTRACE)
check_symbol_exists(getpagesize unistd.h HAVE_GETPAGESIZE)
check_symbol_exists(getrusage sys/resource.h HAVE_GETRUSAGE)
check_symbol_exists(setrlimit sys/resource.h HAVE_SETRLIMIT)