From 674c68cc92ab8c3551fde4243562dfa401e868a1 Mon Sep 17 00:00:00 2001 From: "Brad Payne (Vir Linden)" Date: Fri, 29 Jan 2016 09:02:27 -0500 Subject: SL-315 test old stack trace --- indra/llcommon/llcallstack.cpp | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'indra/llcommon/llcallstack.cpp') 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 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; } -- cgit v1.2.3