aboutsummaryrefslogtreecommitdiff
path: root/libctf
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2024-04-10 16:49:51 -0600
committerTom Tromey <tom@tromey.com>2024-05-14 13:28:39 -0600
commit843d1820007ce64f5a69a64102a6607dcff2ce27 (patch)
tree76d9ff368240b554fc85aa349a0aa3b65c9e6ea9 /libctf
parent6921816e5ecdf5ef01db2b96a4f744476752332b (diff)
downloadbinutils-843d1820007ce64f5a69a64102a6607dcff2ce27.zip
binutils-843d1820007ce64f5a69a64102a6607dcff2ce27.tar.gz
binutils-843d1820007ce64f5a69a64102a6607dcff2ce27.tar.bz2
Fix C++ name canonicalizations of character literals
The names "void C<(char)1>::m()" and "void C<'\001'>::m()" should canonicalize to the same string, but currently they do not -- the former remains unchanged and the latter is transformed to "void C<(char)'\001'>::m()". This patch fixes the bug and also adds some unit tests. Bug: https://sourceware.org/bugzilla/show_bug.cgi?id=16843 Approved-By: John Baldwin <jhb@FreeBSD.org>
Diffstat (limited to 'libctf')
0 files changed, 0 insertions, 0 deletions