2016-02-26 13:36:01 +11:00
|
|
|
/*
|
2018-08-04 15:14:06 +10:00
|
|
|
* This Source Code Form is subject to the terms of the Mozilla Public
|
|
|
|
* License, v. 2.0. If a copy of the MPL was not distributed with this
|
|
|
|
* file, You can obtain one at http://mozilla.org/MPL/2.0/.
|
2016-02-26 13:36:01 +11:00
|
|
|
*
|
|
|
|
* Copyright:
|
|
|
|
* 2011-2012, Danny Robson <danny@nerdcruft.net>
|
|
|
|
*/
|
|
|
|
|
2011-07-04 16:17:12 +10:00
|
|
|
#include "backtrace.hpp"
|
|
|
|
|
2018-03-22 16:10:06 +11:00
|
|
|
#include <ostream>
|
2011-07-04 16:17:12 +10:00
|
|
|
|
|
|
|
|
2016-03-11 13:28:56 +11:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
2011-07-04 16:17:12 +10:00
|
|
|
debug::backtrace::backtrace (void):
|
2015-04-13 18:06:08 +10:00
|
|
|
m_frames (DEFAULT_DEPTH)
|
2011-07-04 16:17:12 +10:00
|
|
|
{ ; }
|
|
|
|
|
|
|
|
|
2016-03-11 13:28:56 +11:00
|
|
|
///////////////////////////////////////////////////////////////////////////////
|
|
|
|
std::ostream&
|
|
|
|
debug::operator <<(std::ostream &os, const debug::backtrace&)
|
|
|
|
{
|
|
|
|
return os << "null_backtrace";
|
2011-07-04 16:17:12 +10:00
|
|
|
}
|
2012-05-15 16:03:14 +10:00
|
|
|
|
|
|
|
|