diff options
author | Tom Tromey <tromey@adacore.com> | 2025-02-24 12:26:36 -0700 |
---|---|---|
committer | Tom Tromey <tromey@adacore.com> | 2025-04-24 13:25:08 -0600 |
commit | 3d0e5b99929b0192abfd8dc12b37ac6eaf7fdfd1 (patch) | |
tree | 4f87b0210331b4adfa93776eff74aa43d71174c5 /libctf/ctf-open.c | |
parent | 5f90d44355bdd441cd77db00f414872088952f85 (diff) | |
download | binutils-3d0e5b99929b0192abfd8dc12b37ac6eaf7fdfd1.zip binutils-3d0e5b99929b0192abfd8dc12b37ac6eaf7fdfd1.tar.gz binutils-3d0e5b99929b0192abfd8dc12b37ac6eaf7fdfd1.tar.bz2 |
Introduce attribute::signed_constant
This introduces a new method, attribute::signed_constant. This should
be used wherever DWARF specifies a signed integer constant, or where
this is implied by the context. It properly handles sign-extension
for DW_FORM_data*.
To my surprise, there doesn't seem to be a pre-existing sign-extension
function. I've added one to common-utils.h alongside the align
functions.
Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=32680
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions