1
0
Fork 0
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:
Arun Sharma 2011-03-31 22:45:10 -07:00
parent 27d0dbfecb
commit 2f9b04e9c2
2 changed files with 3 additions and 2 deletions

View file

@ -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;

View file

@ -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