diff options
author | Nick Alcock <nick.alcock@oracle.com> | 2025-03-25 10:33:49 +0000 |
---|---|---|
committer | Nick Alcock <nick.alcock@oracle.com> | 2025-03-25 10:33:49 +0000 |
commit | bc62419e91f4ab6e78d8a33c789b8495e652d5c7 (patch) | |
tree | a380f6959e3032becbea2405614c9b30adb8be2b /libctf/ctf-open.c | |
parent | 58915dcbc0987c3c5bbf4fb297243e1a25f9be25 (diff) | |
download | binutils-bc62419e91f4ab6e78d8a33c789b8495e652d5c7.zip binutils-bc62419e91f4ab6e78d8a33c789b8495e652d5c7.tar.gz binutils-bc62419e91f4ab6e78d8a33c789b8495e652d5c7.tar.bz2 |
libctf: ctf_add_section_variable must return the type ID
Not doing this breaks the deduplicator (it sees a zero ID, decides the new
variable doesn't need to be inserted into the emissions hash, then later
decl tags that refer to that variable cannot find it anywhere even though
it must have been emitted.)
Diffstat (limited to 'libctf/ctf-open.c')
0 files changed, 0 insertions, 0 deletions