Expose WalkTheStack
git-svn-id: svn://10.0.0.236/trunk@15359 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
@@ -95,8 +95,8 @@ EnumModulesCB(LPSTR aModuleName,
|
|||||||
* the rebasing and accordingly I've made a tool to use it to rebase the
|
* the rebasing and accordingly I've made a tool to use it to rebase the
|
||||||
* DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp).
|
* DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp).
|
||||||
*/
|
*/
|
||||||
static void
|
void
|
||||||
WalkTheStack(char* aBuffer, int aBufLen)
|
nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
|
||||||
{
|
{
|
||||||
CONTEXT context;
|
CONTEXT context;
|
||||||
STACKFRAME frame;
|
STACKFRAME frame;
|
||||||
@@ -191,8 +191,8 @@ WalkTheStack(char* aBuffer, int aBufLen)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#else /* _WIN32 */
|
#else /* _WIN32 */
|
||||||
static void
|
void
|
||||||
WalkTheStack(char* aBuffer, int aBufLen)
|
nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
|
||||||
{
|
{
|
||||||
aBuffer[0] = '\0';
|
aBuffer[0] = '\0';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,6 +54,8 @@ public:
|
|||||||
|
|
||||||
static NS_COM void LoadLibrarySymbols(const char* aLibraryName,
|
static NS_COM void LoadLibrarySymbols(const char* aLibraryName,
|
||||||
void* aLibrayHandle);
|
void* aLibrayHandle);
|
||||||
|
|
||||||
|
static NS_COM void WalkTheStack(char* aBuffer, int aBufLen);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* nsTraceRefcnt_h___ */
|
#endif /* nsTraceRefcnt_h___ */
|
||||||
|
|||||||
@@ -95,8 +95,8 @@ EnumModulesCB(LPSTR aModuleName,
|
|||||||
* the rebasing and accordingly I've made a tool to use it to rebase the
|
* the rebasing and accordingly I've made a tool to use it to rebase the
|
||||||
* DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp).
|
* DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp).
|
||||||
*/
|
*/
|
||||||
static void
|
void
|
||||||
WalkTheStack(char* aBuffer, int aBufLen)
|
nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
|
||||||
{
|
{
|
||||||
CONTEXT context;
|
CONTEXT context;
|
||||||
STACKFRAME frame;
|
STACKFRAME frame;
|
||||||
@@ -191,8 +191,8 @@ WalkTheStack(char* aBuffer, int aBufLen)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#else /* _WIN32 */
|
#else /* _WIN32 */
|
||||||
static void
|
void
|
||||||
WalkTheStack(char* aBuffer, int aBufLen)
|
nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
|
||||||
{
|
{
|
||||||
aBuffer[0] = '\0';
|
aBuffer[0] = '\0';
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -54,6 +54,8 @@ public:
|
|||||||
|
|
||||||
static NS_COM void LoadLibrarySymbols(const char* aLibraryName,
|
static NS_COM void LoadLibrarySymbols(const char* aLibraryName,
|
||||||
void* aLibrayHandle);
|
void* aLibrayHandle);
|
||||||
|
|
||||||
|
static NS_COM void WalkTheStack(char* aBuffer, int aBufLen);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* nsTraceRefcnt_h___ */
|
#endif /* nsTraceRefcnt_h___ */
|
||||||
|
|||||||
@@ -54,6 +54,8 @@ public:
|
|||||||
|
|
||||||
static NS_COM void LoadLibrarySymbols(const char* aLibraryName,
|
static NS_COM void LoadLibrarySymbols(const char* aLibraryName,
|
||||||
void* aLibrayHandle);
|
void* aLibrayHandle);
|
||||||
|
|
||||||
|
static NS_COM void WalkTheStack(char* aBuffer, int aBufLen);
|
||||||
};
|
};
|
||||||
|
|
||||||
#endif /* nsTraceRefcnt_h___ */
|
#endif /* nsTraceRefcnt_h___ */
|
||||||
|
|||||||
@@ -95,8 +95,8 @@ EnumModulesCB(LPSTR aModuleName,
|
|||||||
* the rebasing and accordingly I've made a tool to use it to rebase the
|
* the rebasing and accordingly I've made a tool to use it to rebase the
|
||||||
* DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp).
|
* DLL's in one fell swoop (see xpcom/tools/windows/rebasedlls.cpp).
|
||||||
*/
|
*/
|
||||||
static void
|
void
|
||||||
WalkTheStack(char* aBuffer, int aBufLen)
|
nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
|
||||||
{
|
{
|
||||||
CONTEXT context;
|
CONTEXT context;
|
||||||
STACKFRAME frame;
|
STACKFRAME frame;
|
||||||
@@ -191,8 +191,8 @@ WalkTheStack(char* aBuffer, int aBufLen)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#else /* _WIN32 */
|
#else /* _WIN32 */
|
||||||
static void
|
void
|
||||||
WalkTheStack(char* aBuffer, int aBufLen)
|
nsTraceRefcnt::WalkTheStack(char* aBuffer, int aBufLen)
|
||||||
{
|
{
|
||||||
aBuffer[0] = '\0';
|
aBuffer[0] = '\0';
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user