aboutsummaryrefslogtreecommitdiff
path: root/libctf/ctf-open.c
diff options
context:
space:
mode:
authorTom Tromey <tromey@adacore.com>2025-02-24 12:26:36 -0700
committerTom Tromey <tromey@adacore.com>2025-04-24 13:25:08 -0600
commit3d0e5b99929b0192abfd8dc12b37ac6eaf7fdfd1 (patch)
tree4f87b0210331b4adfa93776eff74aa43d71174c5 /libctf/ctf-open.c
parent5f90d44355bdd441cd77db00f414872088952f85 (diff)
downloadbinutils-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