From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <3MoqVYAgKCqcNWYVJPKHNVVNSL.JVTSPIHIPNHPSZVbYJLdHYL.VYN@flex--gprocida.bounces.google.com> Received: from mail-wr1-x44a.google.com (mail-wr1-x44a.google.com [IPv6:2a00:1450:4864:20::44a]) by sourceware.org (Postfix) with ESMTPS id 012F13853829 for ; Fri, 7 May 2021 18:43:00 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.3.2 sourceware.org 012F13853829 Received: by mail-wr1-x44a.google.com with SMTP id 4-20020adf80040000b029010cab735fdeso3939569wrk.14 for ; Fri, 07 May 2021 11:42:59 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=8uWKgFcHiXCG8HNwjXET6G5Hrow4Az9AuMDJAetWHlA=; b=QYVEac1NKNQbAHTt3G60EbhGEd1AiCN6QOXr0tYabbpSFuFXBqr70HCGeUKN5ypx46 NmTTAEO2VO8eW9Up4H/ajoH76bVVsboZJD7ZtryPDIRABO85npF0Ex2+psLDIaZzZQrT WkIxYmLOmoW5Cn7GQ63IckVMbBeWtpZLYJjszXJ8Zttl27ecEa2goQVKxzr1Trx473WF upZtWNbDUStrH0nkxuyI5gsF3oWrn4sscOmdvgiRRyxaqB1eCtqU3Vjg/EMeH8A0td0F 1bMeJ+bXlROLvfgMU+ECFsHo2ZO3gVmkPkRKOhLKOMLKQNYhfsOF1hnRsUDz/bYdkJ7U ijJw== X-Gm-Message-State: AOAM530E+M/N8vVWYslAhyLLxMc9Sm03d9njHYhHb9mFnMWYM+vYP4+L CxYbBvfo63FYOLLn6zxFMW2nHZcgagWLlk/6IKmpaJDYfigAlpC/lBE3SC03VJC95nLW85uINnq mMS2SDyRdae4Oz8uLx5Z8LNhh6kgXZDAGiwwKJ/KX/MDAjAhHsx1G8UWI++lcRhKOApYQ7dU= X-Google-Smtp-Source: ABdhPJyRF18OWFiG0blqg7jE+yHwVby3fvxpOk2gkxHF1KKqqN9FMiR5uU4KpSNh0AHU4pFQl2TlA1aKJ81yMA== X-Received: from tef.lon.corp.google.com ([2a00:79e0:d:210:e199:ad3e:6253:8fbc]) (user=gprocida job=sendgmr) by 2002:a7b:c7d0:: with SMTP id z16mr11423975wmk.22.1620412978894; Fri, 07 May 2021 11:42:58 -0700 (PDT) Date: Fri, 7 May 2021 19:42:47 +0100 Message-Id: <20210507184250.3946416-1-gprocida@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.31.1.607.g51e8a6a459-goog Subject: [RFC PATCH 0/3] Bug 26591 - tentative fix for some duplicate type ids From: Giuliano Procida To: libabigail@sourceware.org Cc: dodji@seketeli.org, kernel-team@android.com, gprocida@google.com, maennich@google.com Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-16.5 required=5.0 tests=BAYES_00, DKIMWL_WL_MED, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, USER_IN_DEF_DKIM_WL autolearn=ham autolearn_force=no version=3.4.2 X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Mailing list of the Libabigail project List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 07 May 2021 18:43:01 -0000 This is RFC, because while this does fix some of the problems, there may be unforseen consquences of the approach taken. Also, it has been lightly tests (only on a subset of the test suite so far). Comments welcome! Giuliano Procida (3): XML writer: treat function types more uniformly XML writer: don't emit already emitted types XML writer: emit enclosing types of scoped declarations src/abg-writer.cc | 111 +- .../data/test-annotate/test13-pr18894.so.abi | 298 +- .../data/test-annotate/test14-pr18893.so.abi | 5516 +- .../data/test-annotate/test15-pr18892.so.abi | 22297 +++---- .../data/test-annotate/test17-pr19027.so.abi | 38596 +++++------ ...st18-pr19037-libvtkRenderingLIC-6.1.so.abi | 726 +- ...19-pr19023-libtcmalloc_and_profiler.so.abi | 9085 +-- ...st20-pr19025-libvtkParallelCore-6.1.so.abi | 10103 +-- .../data/test-annotate/test21-pr19092.so.abi | 6549 +- .../PR22015-libboost_iostreams.so.abi | 10 - .../test-read-dwarf/PR22122-libftdc.so.abi | 5 - .../PR25042-libgdbm-clang-dwarf5.so.6.0.0.abi | 395 +- .../test-read-dwarf/PR26261/PR26261-exe.abi | 4 - .../test-read-dwarf/test-libandroid.so.abi | 2818 +- .../test-read-dwarf/test10-pr18818-gcc.so.abi | 25 - .../test-read-dwarf/test12-pr18844.so.abi | 3881 +- .../test-read-dwarf/test13-pr18894.so.abi | 184 +- .../test-read-dwarf/test14-pr18893.so.abi | 3807 +- .../test-read-dwarf/test15-pr18892.so.abi | 16117 ++--- .../test-read-dwarf/test16-pr18904.so.abi | 4862 +- .../test-read-dwarf/test17-pr19027.so.abi | 12443 ++-- ...st18-pr19037-libvtkRenderingLIC-6.1.so.abi | 428 - ...19-pr19023-libtcmalloc_and_profiler.so.abi | 6378 +- ...st20-pr19025-libvtkParallelCore-6.1.so.abi | 6329 +- .../test-read-dwarf/test21-pr19092.so.abi | 3299 +- .../test22-pr19097-libstdc++.so.6.0.17.so.abi | 53768 ++++++---------- .../test9-pr18818-clang.so.abi | 50 - 27 files changed, 74647 insertions(+), 133437 deletions(-) -- 2.31.1.607.g51e8a6a459-goog