aboutsummaryrefslogtreecommitdiff
path: root/lib/Support
diff options
context:
space:
mode:
authorBenjamin Kramer <benny.kra@googlemail.com>2013-04-28 07:47:04 +0000
committerBenjamin Kramer <benny.kra@googlemail.com>2013-04-28 07:47:04 +0000
commitd9225188449f0ed381b5e0806527daf77a229d42 (patch)
treec92e9942ca4b3e7646a336f85fa1827ec5d5eb5b /lib/Support
parent297a3ee16ee5d362cf0dccd7edbeb10fa586dced (diff)
Inline variable into the #ifdef block where it's used.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@180688 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'lib/Support')
-rw-r--r--lib/Support/Unix/Signals.inc2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Support/Unix/Signals.inc b/lib/Support/Unix/Signals.inc
index 60ff87644f..fcb12e3534 100644
--- a/lib/Support/Unix/Signals.inc
+++ b/lib/Support/Unix/Signals.inc
@@ -292,9 +292,9 @@ void llvm::sys::PrintStackTrace(FILE *FD) {
(int)(sizeof(void*) * 2) + 2, (unsigned long)StackTrace[i]);
if (dlinfo.dli_sname != NULL) {
- int res;
fputc(' ', FD);
# if HAVE_CXXABI_H
+ int res;
char* d = abi::__cxa_demangle(dlinfo.dli_sname, NULL, NULL, &res);
# else
char* d = NULL;