From 3b3f3bebcd24073455de9f4abf2f0c7712a1c1ee Mon Sep 17 00:00:00 2001 From: Erik Verbruggen Date: Tue, 4 Dec 2012 10:31:31 +0100 Subject: Add utility function to print stack traces from lldb/gdb. Change-Id: I81315a1cd6900dbecfc9a39d9dc4256461163921 Reviewed-by: Simon Hausmann --- debugging.h | 1 + 1 file changed, 1 insertion(+) (limited to 'debugging.h') diff --git a/debugging.h b/debugging.h index 7a0a27dfdb..7c4c273e43 100644 --- a/debugging.h +++ b/debugging.h @@ -121,6 +121,7 @@ public: // debugging hooks const char *currentArg(unsigned idx) const; const char *currentLocal(unsigned idx) const; const char *currentTemp(unsigned idx) const; + void printStackTrace() const; private: int callIndex(VM::ExecutionContext *context); -- cgit v1.2.3