summaryrefslogtreecommitdiffstats
path: root/llvm/cmake/config-ix.cmake
diff options
context:
space:
mode:
authorAlexey Samsonov <vonosmas@gmail.com>2014-10-10 22:06:59 +0000
committerAlexey Samsonov <vonosmas@gmail.com>2014-10-10 22:06:59 +0000
commit8a584bb3d7a0c4cc15f1cf4a457f30ba96e355f8 (patch)
tree06725f7645af4522ab9fe11a39d5d9f0da237da8 /llvm/cmake/config-ix.cmake
parent410332860d7bcb1033bbf47732c365730af710f6 (diff)
downloadbcm5719-llvm-8a584bb3d7a0c4cc15f1cf4a457f30ba96e355f8.tar.gz
bcm5719-llvm-8a584bb3d7a0c4cc15f1cf4a457f30ba96e355f8.zip
Re-land r219354: Use llvm-symbolizer to symbolize LLVM/Clang crash dumps.
In fact, symbolization is now expected to work only on Linux and FreeBSD/NetBSD, where we have dl_iterate_phdr and can learn the main executable name without argv0 (it will be possible on BSD systems after http://reviews.llvm.org/D5693 lands). #ifdef-out the code for all the rest Unix systems. Reviewed in http://reviews.llvm.org/D5610 llvm-svn: 219534
Diffstat (limited to 'llvm/cmake/config-ix.cmake')
-rwxr-xr-xllvm/cmake/config-ix.cmake1
1 files changed, 1 insertions, 0 deletions
diff --git a/llvm/cmake/config-ix.cmake b/llvm/cmake/config-ix.cmake
index 29762380e85..849da2dc148 100755
--- a/llvm/cmake/config-ix.cmake
+++ b/llvm/cmake/config-ix.cmake
@@ -50,6 +50,7 @@ check_include_file(execinfo.h HAVE_EXECINFO_H)
check_include_file(fcntl.h HAVE_FCNTL_H)
check_include_file(inttypes.h HAVE_INTTYPES_H)
check_include_file(limits.h HAVE_LIMITS_H)
+check_include_file(link.h HAVE_LINK_H)
check_include_file(malloc.h HAVE_MALLOC_H)
check_include_file(malloc/malloc.h HAVE_MALLOC_MALLOC_H)
check_include_file(ndir.h HAVE_NDIR_H)
OpenPOWER on IntegriCloud