OSDN Git Service
(root)
/
android-x86
/
external-llvm.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3747be0
)
fix build on cygwin
author
Nuno Lopes
<nunoplopes@sapo.pt>
Thu, 6 Oct 2016 09:32:16 +0000
(09:32 +0000)
committer
Nuno Lopes
<nunoplopes@sapo.pt>
Thu, 6 Oct 2016 09:32:16 +0000
(09:32 +0000)
Cygwin has dlfcn.h, but no Dl_info
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@283427
91177308
-0d34-0410-b5e6-
96231b3b80d8
lib/Support/Unix/Signals.inc
patch
|
blob
|
history
diff --git
a/lib/Support/Unix/Signals.inc
b/lib/Support/Unix/Signals.inc
index
46b640a
..
9752b70
100644
(file)
--- a/
lib/Support/Unix/Signals.inc
+++ b/
lib/Support/Unix/Signals.inc
@@
-412,7
+412,7
@@
void llvm::sys::PrintStackTrace(raw_ostream &OS) {
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;