summaryrefslogtreecommitdiff
path: root/libs/pbd/pbd/stacktrace.h
diff options
context:
space:
mode:
authorPaul Davis <paul@linuxaudiosystems.com>2013-04-05 11:26:39 -0400
committerPaul Davis <paul@linuxaudiosystems.com>2013-04-05 11:26:39 -0400
commit7db5d68cdb1c7b6138907cb732e913ec91212e13 (patch)
treeaf58ff4bd546b22106191dee4bac7d4999948ec7 /libs/pbd/pbd/stacktrace.h
parent19bd6419157119b976393a0c5966b4be4c962119 (diff)
adjust demangling code a bit so that it can easily be used with typenames and not just functions in stacktraces
Diffstat (limited to 'libs/pbd/pbd/stacktrace.h')
-rw-r--r--libs/pbd/pbd/stacktrace.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/libs/pbd/pbd/stacktrace.h b/libs/pbd/pbd/stacktrace.h
index 94d07cab96..f3c7baf7d7 100644
--- a/libs/pbd/pbd/stacktrace.h
+++ b/libs/pbd/pbd/stacktrace.h
@@ -37,6 +37,7 @@
namespace PBD {
void stacktrace (std::ostream& out, int levels = 0);
void trace_twb();
+ std::string demangle (const std::string&);
template<typename T>
class thing_with_backtrace