17 lines
353 B
C++
17 lines
353 B
C++
|
|
// stacktrace.h (c) 2008, Timo Bingmann from http://idlebox.net/
|
||
|
|
// published under the WTFPL v2.0
|
||
|
|
|
||
|
|
// Downloaded from http://panthema.net/2008/0901-stacktrace-demangled/
|
||
|
|
// and modified for C++ and FC by Steemit, Inc.
|
||
|
|
|
||
|
|
#pragma once
|
||
|
|
|
||
|
|
#include <iostream>
|
||
|
|
|
||
|
|
namespace fc {
|
||
|
|
|
||
|
|
void print_stacktrace(std::ostream& out);
|
||
|
|
void print_stacktrace_on_segfault();
|
||
|
|
|
||
|
|
}
|