[PATCH] D27143: Fix detection of backtrace() availability on FreeBSD
Kamil Rytarowski via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Mar 30 10:52:13 PDT 2017
krytarowski accepted this revision.
krytarowski added a comment.
This revision is now accepted and ready to land.
Build for me:
NetBSD chieftec 7.99.66 NetBSD 7.99.66 (GENERIC) #6: Wed Mar 29 21:21:19 CEST 2017 root at chieftec:/public/netbsd-root/sys/arch/amd64/compile/GENERIC amd64
$ grep -i backtrace CMakeCache.txt
//Header providing backtrace(3) facility
Backtrace_HEADER:STRING=execinfo.h
Backtrace_INCLUDE_DIR:PATH=/usr/include
Backtrace_LIBRARY:FILEPATH=/usr/lib/libexecinfo.so
//Enable embedding backtraces on crash.
LLVM_ENABLE_BACKTRACES:BOOL=ON
//ADVANCED property for variable: Backtrace_HEADER
Backtrace_HEADER-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Backtrace_INCLUDE_DIR
Backtrace_INCLUDE_DIR-ADVANCED:INTERNAL=1
//ADVANCED property for variable: Backtrace_LIBRARY
Backtrace_LIBRARY-ADVANCED:INTERNAL=1
//Details about finding Backtrace
FIND_PACKAGE_MESSAGE_DETAILS_Backtrace:INTERNAL=[/usr/lib/libexecinfo.so][/usr/include][v()]
//Have symbol _Unwind_Backtrace
HAVE__UNWIND_BACKTRACE:INTERNAL=1
//Have symbol backtrace
_Backtrace_SYM_FOUND:INTERNAL=
https://reviews.llvm.org/D27143
More information about the llvm-commits
mailing list