mirror of
https://github.com/tobast/libunwind-eh_elf.git
synced 2024-12-23 03:53:43 +01:00
Mark slow_backtrace() ALWAYS_INLINE
Also fix Makefile.am so remote unwinding tests such Gtest-trace don't link with the local unwind library (libunwind.a).
This commit is contained in:
parent
27d0dbfecb
commit
2f9b04e9c2
2 changed files with 3 additions and 2 deletions
|
@ -27,11 +27,12 @@ WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. */
|
|||
|
||||
#define UNW_LOCAL_ONLY
|
||||
#include <libunwind.h>
|
||||
#include <libunwind_i.h>
|
||||
#include <string.h>
|
||||
|
||||
/* See glibc manual for a description of this function. */
|
||||
|
||||
static inline int
|
||||
static ALWAYS_INLINE int
|
||||
slow_backtrace (void **buffer, int size)
|
||||
{
|
||||
unw_cursor_t cursor;
|
||||
|
|
|
@ -105,7 +105,7 @@ Ltest_nomalloc_SOURCES = Ltest-nomalloc.c
|
|||
Gtest_trace_SOURCES = Gtest-trace.c ident.c
|
||||
Ltest_trace_SOURCES = Ltest-trace.c ident.c
|
||||
|
||||
LIBUNWIND = $(top_builddir)/src/libunwind-$(arch).la $(LIBUNWIND_local)
|
||||
LIBUNWIND = $(top_builddir)/src/libunwind-$(arch).la
|
||||
LIBUNWIND_ptrace = $(top_builddir)/src/libunwind-ptrace.a
|
||||
|
||||
if USE_ELF32
|
||||
|
|
Loading…
Reference in a new issue