[v2,0/3] always create fresh corpus objects

Message ID 20210527085305.1400592-1-gprocida@google.com


Giuliano Procida May 27, 2021, 8:53 a.m. UTC
  This is a refresh following rebase on top of current master. In
particular, the recent debug self-comparison change resulted in
some conflicts needing manual resolution.

This is a small series of changes that adjust how corpus objects are
created when reading into a corpus group.

Overall the changes eliminate some conditional logic and make abidiff
slightly faster when processing ABIs containing multiple corpora,
i.e., Linux kernels and modules.

Giuliano Procida (3):
  abg-dwarf-reader: create new corpus unconditionally
  abg-reader: ensure corpus always has a symtab reader
  abg-reader: create a fresh corpus object per corpus

 src/abg-dwarf-reader.cc |  9 +----
 src/abg-reader.cc       | 83 +++++++++++++----------------------------
 2 files changed, 26 insertions(+), 66 deletions(-)