binutils-gdb/libsframe
Indu Bhagat 852bb8c10d libsframe: remove sframe_get_funcdesc_with_addr API
This is an incompatible ABI change in libsframe.

The interface provided by this function is not a healthy abstraction to
expose: the return type sframe_func_desc_entry, which is defined in
include/sframe.h (the SFrame binary format definition).  This ties up
the library in a undesirable way.  Most importantly, this function
should technically not be directly necessary for a stack tracer.  A
stack tracer will likely only need to do a sframe_find_fre ().

Rename the API to continue to use the functionality internally in the
library.  bfd/linker does not use this function.

Change the return type of the previous definition and make a note about
its planned deprecation.

include/
	* sframe-api.h:  Change return type of sframe_get_funcdesc_with_addr.
	Add comment for intention to deprecate.
libsframe/
	*sframe.c (sframe_get_funcdesc_with_addr): Change return type
	and set error code. This API is deprecated.
        (sframe_get_funcdesc_with_addr_internal): New definition for
	internal use.
	(sframe_find_fre): Use sframe_get_funcdesc_with_addr_internal
	instead.
2023-06-27 12:01:56 -07:00
..
doc sframe/doc: minor improvements for readability 2023-05-25 23:44:15 -07:00
testsuite libsframe: testsuite: add sframe_find_fre tests for pltN entries 2023-06-09 11:24:25 -07:00
aclocal.m4
config.h.in
configure libsframe: Use AM_SILENT_RULES macro in configure.ac 2023-01-19 12:40:44 -08:00
configure.ac libsframe: Use AM_SILENT_RULES macro in configure.ac 2023-01-19 12:40:44 -08:00
libtool-version libsframe: add library versioning 2023-06-27 12:01:56 -07:00
Makefile.am libsframe: add library versioning 2023-06-27 12:01:56 -07:00
Makefile.in libsframe: add library versioning 2023-06-27 12:01:56 -07:00
sframe-dump.c libsframe: fix cosmetic issues and typos 2023-06-06 10:50:07 -07:00
sframe-error.c
sframe-impl.h libsframe: avoid unnecessary type casts 2023-06-05 14:17:15 -07:00
sframe.c libsframe: remove sframe_get_funcdesc_with_addr API 2023-06-27 12:01:56 -07:00