[0/2] Eliminate some duplicate types in XML

Message ID 20210611170442.845802-1-gprocida@google.com
Headers
Series Eliminate some duplicate types in XML |

Message

Giuliano Procida June 11, 2021, 5:04 p.m. UTC
  Hi.

There were more changes in this series and they had a greater effect,
until the commit 1cfbff1b3037d1049bdff7e86de27c3a86af23b3 "rhbz1951526
- SELF CHECK FAILED for 'gimp-2.10'" landed.

See https://sourceware.org/pipermail/libabigail/2021q2/003404.html for
the original series.

The first change is very simple and still eliminates some duplicates
from ABI XML.

The second change appears to do nothing with regard to the current
test suite but eliminated one source of duplicate types through a
certain code path.

Giuliano.

Giuliano Procida (2):
  XML writer: don't emit already emitted types
  XML writer: emit enclosing types of scoped declarations

 src/abg-writer.cc                             | 37 +++------
 .../data/test-annotate/test14-pr18893.so.abi  |  2 -
 .../data/test-annotate/test15-pr18892.so.abi  |  8 --
 ...19-pr19023-libtcmalloc_and_profiler.so.abi |  4 -
 .../data/test-annotate/test21-pr19092.so.abi  | 79 -------------------
 .../test-read-dwarf/test14-pr18893.so.abi     |  1 -
 .../test-read-dwarf/test15-pr18892.so.abi     |  4 -
 .../test-read-dwarf/test16-pr18904.so.abi     |  2 -
 ...19-pr19023-libtcmalloc_and_profiler.so.abi |  2 -
 .../test-read-dwarf/test21-pr19092.so.abi     | 59 --------------
 .../test22-pr19097-libstdc++.so.6.0.17.so.abi |  1 -
 .../test9-pr18818-clang.so.abi                | 18 -----
 12 files changed, 13 insertions(+), 204 deletions(-)