From patchwork Wed Jan 1 00:00:00 2020 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Aleksei Vetrov via Libabigail X-Patchwork-Id: 39018 X-Patchwork-Original-From: libabigail@sourceware.org (Matthias Maennich via libabigail) From: Aleksei Vetrov via Libabigail Date: Wed, 01 Jan 2020 00:00:00 -0000 Subject: [PATCH 0/2] corpus/writer: omit empty corpora Message-ID: <20200113144451.46359-1-maennich@google.com> Empty corpora do not contribute to the ABI surface other than that they are present but empty and therefore not considered. Hence, drop these entries from the ABI XML representation. Matthias Maennich (2): corpus: is_empty: consider actual translation unit contents writer: completely skip over empty corpora src/abg-corpus.cc | 13 ++++++++++++- src/abg-writer.cc | 9 +++------ 2 files changed, 15 insertions(+), 7 deletions(-)