From 2abd4f4b497d8a37c01df5d1466703186579afec Mon Sep 17 00:00:00 2001 From: Stefan Schake Date: Mon, 16 Apr 2018 00:45:16 +0200 Subject: [PATCH] gallium/util: Don't stub u_debug_stack on Android MIME-Version: 1.0 Content-Type: text/plain; charset=utf8 Content-Transfer-Encoding: 8bit The fallback path for no libunwind ends up being stubs for Android. Don't compile them in so we can provide our own implementation. Signed-off-by: Stefan Schake Reviewed-by: Eric Engestrom Reviewed-by: Tapani Pälli --- src/gallium/auxiliary/util/u_debug_stack.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/gallium/auxiliary/util/u_debug_stack.c b/src/gallium/auxiliary/util/u_debug_stack.c index 846f648..b1d4cfe 100644 --- a/src/gallium/auxiliary/util/u_debug_stack.c +++ b/src/gallium/auxiliary/util/u_debug_stack.c @@ -193,7 +193,8 @@ debug_backtrace_print(FILE *f, frame_ip(&backtrace[i])); } } - +#elif defined(ANDROID) + /* Not implemented here; see u_debug_stack_android.cpp */ #else /* ! HAVE_LIBUNWIND */ #if defined(PIPE_OS_WINDOWS) -- 2.7.4