mbox series

[0/4] Looking at equality and hashing

Message ID 20210910112325.806676-1-gprocida@google.com
Headers show
Series Looking at equality and hashing | expand


Giuliano Procida Sept. 10, 2021, 11:23 a.m. UTC
These relate to PR28320.

The first two patches are essentially code movement to better isolate
where insertions and look-ups happen.

The third patch adds some optional consistency checks. These find one
issue in the test suite. Unfortunately, they do not pick up on issue
in PR28320 itself. Perhaps there is a canonical type pointer issue as

The last patch seems like an omission. Please take a look.

Giuliano Procida (4):
  abg-writer: get_id_for_type: refactor insertion and look-up
  abg-writer: refactor recording of unemitted types
  abg-writer: allow debugging of equality / hash issues
  RFC: abg-writer: add a missing check for emitted declarations

 configure.ac      |  16 ++++
 src/abg-writer.cc | 184 +++++++++++++++++++++++++++++++---------------
 2 files changed, 139 insertions(+), 61 deletions(-)