mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-10-09 11:25:00 +00:00
Bug 328855 - Support x86-64 in nsStackFrameUnix, r=dbaron
This commit is contained in:
parent
b11c81267c
commit
6a05da91a5
@ -83,7 +83,7 @@ void DemangleSymbol(const char * aSymbol,
|
||||
}
|
||||
|
||||
|
||||
#if defined(linux) && defined(__GNUC__) && (defined(__i386) || defined(PPC)) // i386 or PPC Linux stackwalking code
|
||||
#if defined(linux) && defined(__GNUC__) && (defined(__i386) || defined(PPC) || defined(__x86_64__)) // i386 or PPC Linux stackwalking code
|
||||
|
||||
|
||||
void DumpStackToFile(FILE* aStream)
|
||||
|
@ -823,7 +823,7 @@ nsTraceRefcntImpl::WalkTheStack(FILE* aStream)
|
||||
|
||||
// WIN32 x86 stack walking code
|
||||
// i386 or PPC Linux stackwalking code or Solaris
|
||||
#elif (defined(linux) && defined(__GNUC__) && (defined(__i386) || defined(PPC))) || (defined(__sun) && (defined(__sparc) || defined(sparc) || defined(__i386) || defined(i386)))
|
||||
#elif (defined(linux) && defined(__GNUC__) && (defined(__i386) || defined(PPC) || defined(__x86_64__))) || (defined(__sun) && (defined(__sparc) || defined(sparc) || defined(__i386) || defined(i386)))
|
||||
#include "nsStackFrameUnix.h"
|
||||
NS_COM void
|
||||
nsTraceRefcntImpl::WalkTheStack(FILE* aStream)
|
||||
|
Loading…
Reference in New Issue
Block a user