summaryrefslogtreecommitdiffstats
path: root/src/gallium/auxiliary
diff options
context:
space:
mode:
authorStefan Schake <[email protected]>2018-04-16 00:45:16 +0200
committerTapani Pälli <[email protected]>2018-04-20 18:49:37 +0300
commit2abd4f4b497d8a37c01df5d1466703186579afec (patch)
treef921b4823766bf7b3f579d0350c7effdf0d0ccf8 /src/gallium/auxiliary
parentdd069e9b41cb667cc6290417a7ce83e1f9ab1349 (diff)
gallium/util: Don't stub u_debug_stack on Android
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 <[email protected]> Reviewed-by: Eric Engestrom <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/gallium/auxiliary')
-rw-r--r--src/gallium/auxiliary/util/u_debug_stack.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/gallium/auxiliary/util/u_debug_stack.c b/src/gallium/auxiliary/util/u_debug_stack.c
index 846f6484311..b1d4cfea6c1 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)