binutils-gdb/libsframe/testsuite
Indu Bhagat 6a99f006ec libsframe: testsuite: add tests for sframe_get_funcdesc_with_addr API
sframe_get_funcdesc_with_addr API is currently used internally by the
sframe_find_fre ().

In this test, we create three dummy SFrame FDEs with 4 FREs each.  Then,
we use few negative tests to lookup FREs with PCs not in the range of
PCs covered by the FDEs, ensuring graceful return from
sframe_get_funcdesc_with_addr in all cases.  Some positive tests are
also added that exercise further scenarios as well.

libsframe/
	* Makefile.in: Regenerated.
	* testsuite/libsframe.find/find.exp: Include new test.
	* testsuite/libsframe.find/findfunc-1.c: New Test.
	* testsuite/libsframe.find/local.mk: Include new test.
2023-05-17 23:14:52 -07:00
..
config Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
libsframe.decode Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
libsframe.encode Update year range in copyright notice of binutils files 2023-01-01 21:50:11 +10:30
libsframe.find libsframe: testsuite: add tests for sframe_get_funcdesc_with_addr API 2023-05-17 23:14:52 -07:00
local.mk libsframe: testsuite: add new tests for sframe_find_fre API 2023-05-17 23:14:36 -07:00