summaryrefslogtreecommitdiffstats
path: root/src/gallium/targets
diff options
context:
space:
mode:
authorStefan Schake <[email protected]>2018-04-16 00:45:17 +0200
committerTapani Pälli <[email protected]>2018-04-20 18:49:49 +0300
commitff904978a1d299a36b58781df47351729a8e40b6 (patch)
tree287c0a9b29bcc33ba456edb78a6b34bc5f231810 /src/gallium/targets
parent2abd4f4b497d8a37c01df5d1466703186579afec (diff)
gallium/util: Android backtrace support
We can't use any of the existing implementations in u_debug_stack. Android technically has libunwind, but it's been modified to the point where it no longer compiles with the Mesa usage. The library is also not meant to be referenced by vendor libraries. The officially sanctioned way of obtaining backtraces is through the Android own libbacktrace, a C++ library. Access it through a separate C++ source file on Android only. Signed-off-by: Stefan Schake <[email protected]> Acked-by: Eric Engestrom <[email protected]> Reviewed-by: Rob Herring <[email protected]> Reviewed-by: Tapani Pälli <[email protected]>
Diffstat (limited to 'src/gallium/targets')
-rw-r--r--src/gallium/targets/dri/Android.mk1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/gallium/targets/dri/Android.mk b/src/gallium/targets/dri/Android.mk
index 5a3fda65d46..9c43fa1e8fd 100644
--- a/src/gallium/targets/dri/Android.mk
+++ b/src/gallium/targets/dri/Android.mk
@@ -40,6 +40,7 @@ LOCAL_LDFLAGS := \
-Wl,--undefined-version
LOCAL_SHARED_LIBRARIES := \
+ libbacktrace \
libdl \
libglapi \
libexpat \