On Wed, Mar 28, 2018 at 5:19 PM, Stefan Schake <stsch...@gmail.com> wrote:
> 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 <stsch...@gmail.com>
> src/gallium/auxiliary/Android.mk | 3 +-
> .../auxiliary/util/u_debug_stack_android.cpp | 111
> src/gallium/targets/dri/Android.mk | 1 +
> 3 files changed, 114 insertions(+), 1 deletion(-)
> create mode 100644 src/gallium/auxiliary/util/u_debug_stack_android.cpp
Reviewed-by: Rob Herring <r...@kernel.org>
mesa-dev mailing list