diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2021-01-27 19:55:45 +0000 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2021-02-04 16:01:53 +0000 |
commit | caa170493e884215af4d07ea891ed1e2eeeb0578 (patch) | |
tree | 0d247c34146921550f50dd93081922fc2096132c /include/ChangeLog | |
parent | 78f28b89e8c7a2c9e262e2819f0da5629f226efc (diff) | |
download | gdb-caa170493e884215af4d07ea891ed1e2eeeb0578.zip gdb-caa170493e884215af4d07ea891ed1e2eeeb0578.tar.gz gdb-caa170493e884215af4d07ea891ed1e2eeeb0578.tar.bz2 |
libctf: prohibit nameless ints, floats, typedefs and forwards
Now that "anonymous typedef nodes" have been extirpated, we can mandate
that things that have names in C must have names in CTF too. (Unlike
the no-forwards embarrassment, the deduplicator does nothing special
with names: types that have names in C will have the same name in CTF.
So we can assume that the CTF rules and the C rules are the same.)
include/ChangeLog
2021-01-27 Nick Alcock <nick.alcock@oracle.com>
* ctf-api.h (ECTF_NONAME): New.
(ECTF_NERR): Adjust.
libctf/ChangeLog
2021-01-27 Nick Alcock <nick.alcock@oracle.com>
* ctf-create.c (ctf_add_encoded): Add check for non-empty name.
(ctf_add_forward): Likewise.
(ctf_add_typedef): Likewise.
Diffstat (limited to 'include/ChangeLog')
-rw-r--r-- | include/ChangeLog | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/include/ChangeLog b/include/ChangeLog index 163b506..56a9a61 100644 --- a/include/ChangeLog +++ b/include/ChangeLog @@ -1,3 +1,8 @@ +2021-01-27 Nick Alcock <nick.alcock@oracle.com> + + * ctf-api.h (ECTF_NONAME): New. + (ECTF_NERR): Adjust. + 2021-01-26 Nick Alcock <nick.alcock@oracle.com> * ctf-api.h (CTF_LINK_NO_FILTER_REPORTED_SYMS): New. |