Skip to content

Commit e9258f2

Browse files
committed
vmp_stack: use local unwinding only
Since remote unwinding is not used, activate the local-only optimised version of libunwind. This simplifies linking as one only needs to link against libunwind instead of one of the architecture specific libraries.
1 parent ff065c0 commit e9258f2

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

src/vmp_stack.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -29,6 +29,7 @@ static int (*unw_get_proc_name)(unw_cursor_t *, char *, size_t, unw_word_t*) = N
2929
static int (*unw_is_signal_frame)(unw_cursor_t *) = NULL;
3030
static int (*unw_getcontext)(unw_context_t *) = NULL;
3131
#else
32+
#define UNW_LOCAL_ONLY
3233
#include <libunwind.h>
3334
#endif
3435

0 commit comments

Comments
 (0)