summaryrefslogtreecommitdiffstats
path: root/runtime/unwind
diff options
context:
space:
mode:
authorFrank Ch. Eigler <fche@elastic.org>2008-04-15 17:44:32 -0400
committerFrank Ch. Eigler <fche@elastic.org>2008-04-15 17:44:32 -0400
commitca1655b01e0f15289f5b8e7b760373c733cbdd83 (patch)
treee489df7957f98063dbb08af15a3b37535ee88881 /runtime/unwind
parent8558d3925ee2931b654a19f243bfa8b3be0bfc12 (diff)
downloadsystemtap-steved-ca1655b01e0f15289f5b8e7b760373c733cbdd83.tar.gz
systemtap-steved-ca1655b01e0f15289f5b8e7b760373c733cbdd83.tar.xz
systemtap-steved-ca1655b01e0f15289f5b8e7b760373c733cbdd83.zip
PR6410: unwinder-less architecture tolerance
Diffstat (limited to 'runtime/unwind')
-rw-r--r--runtime/unwind/unwind.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/runtime/unwind/unwind.h b/runtime/unwind/unwind.h
index 8651cb9e..ae5e75d3 100644
--- a/runtime/unwind/unwind.h
+++ b/runtime/unwind/unwind.h
@@ -13,6 +13,8 @@
#ifndef _STP_UNWIND_H_
#define _STP_UNWIND_H_
+#ifdef STP_USE_DWARF_UNWINDER
+
#if defined (__x86_64__)
#include "x86_64.h"
#elif defined (__i386__)
@@ -139,4 +141,6 @@ static const u32 bad_cie, not_fde;
static const u32 *cie_for_fde(const u32 *fde, const struct _stp_module *);
static signed fde_pointer_type(const u32 *cie);
+
+#endif /* STP_USE_DWARF_UNWINDER */
#endif /*_STP_UNWIND_H_*/