util: Add unit test for stack backtrace caputure
authorKristian H. Kristensen <hoegsberg@google.com>
Wed, 29 Jul 2020 04:29:37 +0000 (21:29 -0700)
committerMarge Bot <eric+marge@anholt.net>
Wed, 5 Aug 2020 18:08:06 +0000 (18:08 +0000)
commitd0d14f3f6481e015b4413fa0487164b76fe45296
treea82ca2f1fbca0632388c78c9921983e670957f76
parent848e7b947d0d505d54d27780b052e5532c721678
util: Add unit test for stack backtrace caputure

First test never fails, but exercises the code and is useful for
manual inspection.  Second test exposes the android implementation
bug.

Part-of: <https://gitlab.freedesktop.org/mesa/mesa/-/merge_requests/6112>
src/util/meson.build
src/util/u_debug_stack_test.cpp [new file with mode: 0644]