mirror of
https://github.com/espressif/binutils-gdb.git
synced 2025-06-18 16:53:50 +08:00
libsframe: provide new access API for mangled RA bit
include/ChangeLog: * sframe-api.h (sframe_fre_get_ra_mangled_p): New declaration. ChangeLog: * libsframe/sframe.c (sframe_get_fre_ra_mangled_p): New definition. (sframe_fre_get_ra_mangled_p): New static function.
This commit is contained in:
@ -21,6 +21,7 @@
|
||||
#define _SFRAME_API_H
|
||||
|
||||
#include <sframe.h>
|
||||
#include <stdbool.h>
|
||||
|
||||
#ifdef __cplusplus
|
||||
extern "C"
|
||||
@ -184,6 +185,12 @@ extern int32_t
|
||||
sframe_fre_get_ra_offset (sframe_decoder_ctx *dctx,
|
||||
sframe_frame_row_entry *fre, int *errp);
|
||||
|
||||
/* Get whether the RA is mangled. */
|
||||
|
||||
extern bool
|
||||
sframe_fre_get_ra_mangled_p (sframe_decoder_ctx *dctx,
|
||||
sframe_frame_row_entry *fre, int *errp);
|
||||
|
||||
/* The SFrame Encoder. */
|
||||
|
||||
/* Create an encoder context with the given SFrame format version VER, FLAGS
|
||||
|
Reference in New Issue
Block a user