summaryrefslogtreecommitdiff
path: root/include/libunwind-arm.h
diff options
context:
space:
mode:
authorLassi Tuura <lat@iki.fi>2011-03-19 10:00:48 +0100
committerArun Sharma <asharma@fb.com>2011-03-24 22:33:17 -0700
commit9e98f15e9aee12e67cd5956d06ccb559f6a06213 (patch)
tree5131aa7120043dab6da38f6765514858d31f9b23 /include/libunwind-arm.h
parent6c1a58fd06eea3a45c6de38eb5d1f79f636bb8d5 (diff)
downloadlibunwind-9e98f15e9aee12e67cd5956d06ccb559f6a06213.tar.gz
Fast back-trace for x86_64 for only collecting the call stack.
Adds new function to perform a pure stack walk without unwinding, functionally similar to backtrace() but accelerated by an address attribute cache the caller maintains across calls.
Diffstat (limited to 'include/libunwind-arm.h')
-rw-r--r--include/libunwind-arm.h10
1 files changed, 10 insertions, 0 deletions
diff --git a/include/libunwind-arm.h b/include/libunwind-arm.h
index 492331e4..5cbfe860 100644
--- a/include/libunwind-arm.h
+++ b/include/libunwind-arm.h
@@ -286,11 +286,21 @@ typedef struct
}
unw_tdep_proc_info_t;
+typedef struct
+ {
+ /* no arm-specific fast trace */
+ }
+unw_tdep_frame_t;
+
#include "libunwind-common.h"
#define unw_tdep_is_fpreg UNW_ARCH_OBJ(is_fpreg)
extern int unw_tdep_is_fpreg (int);
+#define unw_tdep_make_frame_cache(n) (0)
+#define unw_tdep_free_frame_cache(p) do {} while(0)
+#define unw_tdep_trace(cur,addr,n,c) (-UNW_ENOINFO)
+
#if defined(__cplusplus) || defined(c_plusplus)
}
#endif