diff options
| author | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-01-26 08:23:40 -0500 |
|---|---|---|
| committer | Brad Payne (Vir Linden) <vir@lindenlab.com> | 2016-01-26 08:23:40 -0500 |
| commit | 5345d1e115fdf3fca7ea3e8330f1a23ad19257c8 (patch) | |
| tree | 6614014a8a794b6d15f075bbf76511309ee272ee /indra/newview | |
| parent | 4d29ff4fb6f68e27a6376fe52d81f8a4a95f5633 (diff) | |
SL-315 WIP - added a call stack extractor for windows to help with tracing joint issues (of course, could be used for other things as well).
Diffstat (limited to 'indra/newview')
| -rwxr-xr-x | indra/newview/llstartup.cpp | 3 | ||||
| -rwxr-xr-x | indra/newview/llvoavatarself.cpp | 5 |
2 files changed, 8 insertions, 0 deletions
diff --git a/indra/newview/llstartup.cpp b/indra/newview/llstartup.cpp index 9d1a12f18a..d62cf3caab 100755 --- a/indra/newview/llstartup.cpp +++ b/indra/newview/llstartup.cpp @@ -28,6 +28,7 @@ #include "llappviewer.h" #include "llstartup.h" +#include "llcallstack.h" #if LL_WINDOWS # include <process.h> // _spawnl() @@ -197,6 +198,8 @@ #include "lltoolbarview.h" #include "llexperiencelog.h" +#include "llstacktrace.h" + #if LL_WINDOWS #include "lldxhardware.h" #endif diff --git a/indra/newview/llvoavatarself.cpp b/indra/newview/llvoavatarself.cpp index bea3ea2680..0648ee6732 100755 --- a/indra/newview/llvoavatarself.cpp +++ b/indra/newview/llvoavatarself.cpp @@ -65,6 +65,7 @@ #include "llsdutil.h" #include "llstartup.h" #include "llsdserialize.h" +#include "llcallstack.h" #if LL_MSVC // disable boost::lexical_cast warning @@ -205,6 +206,10 @@ bool update_avatar_rez_metrics() return true; gAgentAvatarp->updateAvatarRezMetrics(false); + + LLCallStack cs; + LL_INFOS() << "CallStack:\n" << cs << LL_ENDL; + return false; } |
