__GLOBAL__ fix on trunk as well.

This commit is contained in:
Steve Checkoway
2005-05-28 19:54:28 +00:00
parent dfa0f52ec0
commit 720ba40a94
@@ -280,6 +280,13 @@ void BacktraceNames::FromAddr( const void *p )
*/
if( Symbol.Left(1) == "_" )
Symbol = Symbol.substr(1);
/* After stripping off the leading _
* _GLOBAL__I__ZN5ModelC2Ev -> _ZN5ModelC2Ev
* _GLOBAL__D__Z12ForceToAsciiR7CStdStrIcE -> _Z12ForceToAsciiR7CStdStrIcE
*/
if( Symbol.Left(9) == "_GLOBAL__" )
Symbol = Symbol.substr(11);
}
#elif defined(BACKTRACE_LOOKUP_METHOD_BACKTRACE_SYMBOLS)