s390/unwind: add a test for the internal API
authorIlya Leoshkevich <iii@linux.ibm.com>
Thu, 17 Oct 2019 13:09:08 +0000 (15:09 +0200)
committerVasily Gorbik <gor@linux.ibm.com>
Sat, 30 Nov 2019 09:52:46 +0000 (10:52 +0100)
commitbadbf39790798283f2424828e7b7bec3962f1e02
tree4d45c04e16e76ca19b8e73363a3b51ab9ac35eb3
parentadcfb8cdc910bdd0b5d52d2ba88103af93dc43d3
s390/unwind: add a test for the internal API

unwind_for_each_frame can take at least 8 different sets of parameters.
Add a test to make sure they all are handled in a sane way.

Reviewed-by: Heiko Carstens <heiko.carstens@de.ibm.com>
Signed-off-by: Ilya Leoshkevich <iii@linux.ibm.com>
Co-developed-by: Vasily Gorbik <gor@linux.ibm.com>
Signed-off-by: Vasily Gorbik <gor@linux.ibm.com>
arch/s390/Kconfig
arch/s390/lib/Makefile
arch/s390/lib/test_unwind.c [new file with mode: 0644]