aboutsummaryrefslogtreecommitdiff
path: root/gold
diff options
context:
space:
mode:
authorNick Alcock <nick.alcock@oracle.com>2020-06-02 20:28:16 +0100
committerNick Alcock <nick.alcock@oracle.com>2020-07-22 17:57:27 +0100
commitab769488e75272c3cbea4626a346fd0c336b2de6 (patch)
treef8df0e4cc998210af7387454f4e72bdd2c55979c /gold
parent2484ca436ac68716636a7aca3826bca3cda243a4 (diff)
downloadgdb-ab769488e75272c3cbea4626a346fd0c336b2de6.zip
gdb-ab769488e75272c3cbea4626a346fd0c336b2de6.tar.gz
gdb-ab769488e75272c3cbea4626a346fd0c336b2de6.tar.bz2
libctf, create: member names of "" and NULL should be the same
This matters for the case of unnamed bitfields, whose names are the null string. These are special in that they are the only members whose "names" are allowed to be duplicated in a single struct, but we were only handling this for the case where name == NULL. Translate "" to NULL to help callers. libctf/ * ctf-create.c (ctf_add_member_offset): Support names of "" as if they were the null pointer.
Diffstat (limited to 'gold')
0 files changed, 0 insertions, 0 deletions