diff options
Diffstat (limited to 'runtime/runtime.h')
-rw-r--r-- | runtime/runtime.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/runtime/runtime.h b/runtime/runtime.h index 6d8d9dc9..8d267173 100644 --- a/runtime/runtime.h +++ b/runtime/runtime.h @@ -77,6 +77,11 @@ static struct #endif #endif +/* dwarf unwinder only tested so far on i386 and x86_64 */ +#if !defined(STP_USE_FRAME_BUFFER) && (defined(__i386__) || defined(__x86_64__)) +#define STP_USE_DWARF_UNWINDER +#endif + #include "alloc.c" #include "print.c" #include "string.c" |