--- lib/Support/Unix/Signals.inc.orig 2017-01-06 02:26:33 UTC +++ lib/Support/Unix/Signals.inc @@ -300,7 +300,8 @@ void llvm::sys::AddSignalHandler(void (* #if defined(HAVE_BACKTRACE) && ENABLE_BACKTRACES && HAVE_LINK_H && \ (defined(__linux__) || defined(__FreeBSD__) || \ - defined(__FreeBSD_kernel__) || defined(__NetBSD__)) + defined(__FreeBSD_kernel__) || defined(__NetBSD__) || \ + defined(__BSDSUniX__) || defined(__BSDSUniX_kernel__)) struct DlIteratePhdrData { void **StackTrace; int depth;