Hi,

Sorry, one more thing.

On Fri, Jun 14, 2024 at 03:47:15PM +0100, Steve Capper wrote:
> index 4be32de5..f6d26044 100644
> --- a/libdw/dwarf.h
> +++ b/libdw/dwarf.h
> @@ -1028,6 +1028,11 @@ enum
>      DW_EH_PE_indirect = 0x80
>    };
>  
> +/* AARCH64 DWARF registers. */
> +enum
> +  {
> +    DW_AARCH64_RA_SIGN_STATE = 34
> +  };

dwarf.h is a public header. I rather not define this DW constant here.
Especially since it doesn't seem to have common name (binutils-gdb
calls this AARCH64_DWARF_RA_SIGN_STATE, but only defines it in a
private header). Since this is really just a private detail for CFI
could we define it in cfi.h (which is a private elfutils header)?

Cheers,

Mark

Reply via email to