commit | 843fe9bfab4859b4c718b87dccfb27f45833321f | [log] [tgz] |
---|---|---|
author | Arnaldo Carvalho de Melo <acme@redhat.com> | Fri Sep 23 14:40:22 2022 -0300 |
committer | Arnaldo Carvalho de Melo <acme@redhat.com> | Fri Sep 23 14:40:22 2022 -0300 |
tree | 2fce144ceec63c1b95f27b00b031e4ee6b219f25 | |
parent | f5857bd34b220a64eb343a84e21f3c8e11cd9ec7 [diff] |
emit: Check if disambiguated struct/enum/union name was already emitted in a previous CU When generating from DWARF we may find the same ambiguous enum/struct/union name ('struct foo' and 'union foo' on the same .c file), in multiple CUs, so we need to check again when disambiguating by adding a __N suffix. Signed-off-by: Arnaldo Carvalho de Melo <acme@redhat.com>