From patchwork Tue Jan 11 16:10:08 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Giuliano Procida X-Patchwork-Id: 49875 Return-Path: X-Original-To: patchwork@sourceware.org Delivered-To: patchwork@sourceware.org Received: from server2.sourceware.org (localhost [IPv6:::1]) by sourceware.org (Postfix) with ESMTP id 2294038A941C for ; Tue, 11 Jan 2022 16:10:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 2294038A941C DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=sourceware.org; s=default; t=1641917429; bh=oXCv1j9twFTYPaNvGyICHeRQjrefH7MWLmhZeB4m9JA=; h=Date:Subject:To:List-Id:List-Unsubscribe:List-Archive:List-Help: List-Subscribe:From:Reply-To:Cc:From; b=uEu8RejSVsI5wDfJJCvFbRGX/7M7maIbpmmN07w64xxz3NjTKnULJ7lNIEbJarxmQ 5VNsv4dKpCQnyijC+BNi2BXt92hn/u+0BIaHKjDsZRfodxCFUOGWU7vTzrfR92lIZR al48ipQxAr+yvRfALKA2xe09olBYlFwsOgp3qlw0= X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from mail-ed1-x549.google.com (mail-ed1-x549.google.com [IPv6:2a00:1450:4864:20::549]) by sourceware.org (Postfix) with ESMTPS id 1E416385840C for ; Tue, 11 Jan 2022 16:10:24 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 1E416385840C Received: by mail-ed1-x549.google.com with SMTP id v18-20020a056402349200b003f8d3b7ee8dso13757993edc.23 for ; Tue, 11 Jan 2022 08:10:24 -0800 (PST) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:date:message-id:mime-version:subject:from:to:cc; bh=oXCv1j9twFTYPaNvGyICHeRQjrefH7MWLmhZeB4m9JA=; b=UhdAElGtvLeznPJNpaLm12YDcvzhu0zHRC28kFFY/Rw8x0qJaTMbOlhd45cU+OZD0q pq/gLHlPbEleb6Z002k5nt8k7uMJrrUHY2hlrxzinsiYEOo1wkMeEOpCErCob+hVraMb EBYH5ZQpNWL5YkSuPNq17WkKY96+NLBnz0LZcHvfsLmhBg2UcpBZsEiZzGErRdTRkUfY e5FMSeHrsz1fCatwZTR5ETVqnQIbNQHslyzggSTIbu0Emy61+3DjgSGy3xO28ooV8ghW XlL+qjeWq7X97wtlNVYLzCQMBrLnJ/8Ha+6Tw2hPEGG7nGEjCuvIWmDqVKWX6vJb4llr mXrQ== X-Gm-Message-State: AOAM531l4gZFCFeQhFdHGBeC5dAI5WZgM5IFfweC54hgmME+KlzKky9Y NQP/kbxN+XTRoXCLLLfrNKV5jlKj16N7v8LXy9tCBxLBt7UAFro8TRDBTEbTmVPZO2BcQRPFROo FVt3Podkoq+q6PY8ZhsGzBzdiBFZmbLMUPsBFWkIRgfJGfBLLZ5oxJixsafDN5ReZiOWs1Oc= X-Google-Smtp-Source: ABdhPJzy32VTogZY0JJw8Yl9Uiwxmc/0VfvJvvRf8ThMlV6iCw3imA/MebzEwLZ3XrmLz5OTBOv4Dc0QFJBYzg== X-Received: from tef.lon.corp.google.com ([2a00:79e0:d:210:b411:ac04:5f30:7e4e]) (user=gprocida job=sendgmr) by 2002:a05:6402:491:: with SMTP id k17mr4950133edv.333.1641917422703; Tue, 11 Jan 2022 08:10:22 -0800 (PST) Date: Tue, 11 Jan 2022 16:10:08 +0000 Message-Id: <20220111161009.3008610-1-gprocida@google.com> Mime-Version: 1.0 X-Mailer: git-send-email 2.34.1.575.g55b058a8bb-goog Subject: [PATCH 0/1] Bug 28319 - abidw - regression in treatment of anonymous enums in structs To: libabigail@sourceware.org X-Spam-Status: No, score=-15.1 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.4 X-Spam-Checker-Version: SpamAssassin 3.4.4 (2020-01-24) 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-Patchwork-Original-From: Giuliano Procida via Libabigail From: Giuliano Procida Reply-To: Giuliano Procida Cc: maennich@google.com, kernel-team@android.com Errors-To: libabigail-bounces+patchwork=sourceware.org@sourceware.org Sender: "Libabigail" Hi Dodji. This is a patch to add some flag control as I mentioned in https://sourceware.org/bugzilla/show_bug.cgi?id=28319#c4 It may be that the better way forward is to change the default behaviour and/or rename the flag to something like "--ignore-enumerator-names". Do let me know your thoughts. Regards, Giuliano. Giuliano Procida (1): abidw: add --consider-enumerator-names flag doc/manuals/abidw.rst | 10 ++++++++ include/abg-dwarf-reader.h | 7 ++++++ src/abg-dwarf-reader.cc | 47 ++++++++++++++++++++++++++++++++++++-- tools/abidw.cc | 5 ++++ 4 files changed, 67 insertions(+), 2 deletions(-)