summaryrefslogtreecommitdiff
path: root/indra/llcommon
diff options
context:
space:
mode:
Diffstat (limited to 'indra/llcommon')
-rw-r--r--indra/llcommon/llcallstack.cpp9
1 files changed, 9 insertions, 0 deletions
diff --git a/indra/llcommon/llcallstack.cpp b/indra/llcommon/llcallstack.cpp
index cb77591c7c..7474d4708b 100644
--- a/indra/llcommon/llcallstack.cpp
+++ b/indra/llcommon/llcallstack.cpp
@@ -26,6 +26,7 @@
#include "llcommon.h"
#include "llcallstack.h"
+#include "llstacktrace.h"
#include "StackWalker.h"
#if LL_WINDOWS
@@ -93,5 +94,13 @@ std::ostream& operator<<(std::ostream& s, const LLCallStack& call_stack)
{
s << *it;
}
+ std::vector<std::string> og_lines;
+ ll_get_stack_trace(og_lines);
+ s << "\nOLD SCHOOL STACK\n";
+ for (it=og_lines.begin(); it!=og_lines.end(); ++it)
+ {
+ s << *it;
+ }
+
return s;
}