mirror of
https://github.com/RPCSX/llvm.git
synced 2024-11-29 14:40:25 +00:00
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
This commit is contained in:
parent
297a3ee16e
commit
d922518844
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user