[llvm-branch-commits] [llvm-branch] r287133 - Merging r283427:
Tom Stellard via llvm-branch-commits
llvm-branch-commits at lists.llvm.org
Wed Nov 16 10:48:06 PST 2016
Author: tstellar
Date: Wed Nov 16 12:48:06 2016
New Revision: 287133
URL: http://llvm.org/viewvc/llvm-project?rev=287133&view=rev
Log:
Merging r283427:
------------------------------------------------------------------------
r283427 | nunoplopes | 2016-10-06 02:32:16 -0700 (Thu, 06 Oct 2016) | 3 lines
fix build on cygwin
Cygwin has dlfcn.h, but no Dl_info
------------------------------------------------------------------------
Modified:
llvm/branches/release_39/lib/Support/Unix/Signals.inc
Modified: llvm/branches/release_39/lib/Support/Unix/Signals.inc
URL: http://llvm.org/viewvc/llvm-project/llvm/branches/release_39/lib/Support/Unix/Signals.inc?rev=287133&r1=287132&r2=287133&view=diff
==============================================================================
--- llvm/branches/release_39/lib/Support/Unix/Signals.inc (original)
+++ llvm/branches/release_39/lib/Support/Unix/Signals.inc Wed Nov 16 12:48:06 2016
@@ -412,7 +412,7 @@ void llvm::sys::PrintStackTrace(raw_ostr
if (printSymbolizedStackTrace(Argv0, StackTrace, depth, OS))
return;
-#if HAVE_DLFCN_H && __GNUG__
+#if HAVE_DLFCN_H && __GNUG__ && !defined(__CYGWIN__)
int width = 0;
for (int i = 0; i < depth; ++i) {
Dl_info dlinfo;
More information about the llvm-branch-commits
mailing list