Message ID | 87ikv8h59a.fsf@redhat.com |
---|---|
State | New |
Headers |
Return-Path: <libabigail-bounces~patchwork=sourceware.org@sourceware.org> 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 E40F7385C6C6 for <patchwork@sourceware.org>; Fri, 6 Sep 2024 20:55:07 +0000 (GMT) X-Original-To: libabigail@sourceware.org Delivered-To: libabigail@sourceware.org Received: from us-smtp-delivery-124.mimecast.com (us-smtp-delivery-124.mimecast.com [170.10.129.124]) by sourceware.org (Postfix) with ESMTP id 746723858C56 for <libabigail@sourceware.org>; Fri, 6 Sep 2024 20:55:02 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.2 sourceware.org 746723858C56 Authentication-Results: sourceware.org; dmarc=pass (p=none dis=none) header.from=redhat.com Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=redhat.com ARC-Filter: OpenARC Filter v1.0.0 sourceware.org 746723858C56 Authentication-Results: server2.sourceware.org; arc=none smtp.remote-ip=170.10.129.124 ARC-Seal: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725656103; cv=none; b=j/m2bbO6L01p4ldxEjnL3MYZl20BQdVSl6yT/L900yKWBMTt4Li/4gUwvgjYTpcboTEZexJPaMoXdntrWPTA7LrrCrvjNI0Uk+DPkKbcFkxj4M+NGQ1Z0ofRmrelS6tO4JhvnLj/dcOJY1uMSSzJmjMm8qALn1Zy8Xw8ki59ft0= ARC-Message-Signature: i=1; a=rsa-sha256; d=sourceware.org; s=key; t=1725656103; c=relaxed/simple; bh=m4ucIy6OR4l+mEBBGQi0Y9L3puMzViOIun0K1U5J4X0=; h=DKIM-Signature:From:To:Subject:Date:Message-ID:MIME-Version; b=T0l9LJkiC3iCem6NiHM0VeSQJarmPa0rW8/SjGShBdWLTpBpTH42XzRXSt1P6+mkMm0IOihMiadv7Wx1n5J9bsaMNHCIaZqVGTSGbVgjvsxgmiO8rMuUMSK6xEuZIUMlt9ol9zOfhmoHbWzEtljEirpn6EZabzACcLe53EZYx4A= ARC-Authentication-Results: i=1; server2.sourceware.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=redhat.com; s=mimecast20190719; t=1725656102; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=9IHM1fQNNBUr/2f40zqz2ISfCPRUhr+/j3j9iWGdJNs=; b=L3cfY+wNWRSiQHMJCaPy1HoCOHtqT/wvAnEbeuFvOUDhDPj6WV7MBOBqkWXB7K9toAIxI5 agrxqHljWMeQtd5wanxVDYzz3zk05xC5crJoJlURHsElw9qQsOI5q+qjnfgwsPV/W2pTKR PQ2GOsqxtw0qo9LXqTt3yDGnsFcWofo= Received: from mail-qt1-f199.google.com (mail-qt1-f199.google.com [209.85.160.199]) by relay.mimecast.com with ESMTP with STARTTLS (version=TLSv1.3, cipher=TLS_AES_256_GCM_SHA384) id us-mta-677-5W9hUAemN3iO8kwoBlqV1Q-1; Fri, 06 Sep 2024 16:55:01 -0400 X-MC-Unique: 5W9hUAemN3iO8kwoBlqV1Q-1 Received: by mail-qt1-f199.google.com with SMTP id d75a77b69052e-4567919a606so75312161cf.1 for <libabigail@sourceware.org>; Fri, 06 Sep 2024 13:55:00 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20230601; t=1725656100; x=1726260900; h=mime-version:user-agent:message-id:date:organization:subject:to :from:x-gm-message-state:from:to:cc:subject:date:message-id:reply-to; bh=9IHM1fQNNBUr/2f40zqz2ISfCPRUhr+/j3j9iWGdJNs=; b=gHevm1GAuWonmSIDJrl7AylGFpDQ2JmWOt9qQlvrbhSCJXS9ZR0cSDVXIl6/06+USa mAjLbIZfkFzTFuYUef51xf0p+431LtVkzz7itdOTpO1fwlkVY5FGsQnsb1TjhvKXtccI 2czwagl1tOjsb1aQrCoKHB9u4sVf7Cp6Z8xCVoKfEDdVoU4thFmqEBUBsd6P3SJ0tnfy IJ3bh3fLlp+rYEbMN+ybQrFm9ZIQwISX+GD59MM91XOVw6k2pW35Y2UFp2m9NWGEAhuv 8Cfx/o3fH4j2Jm5lck2VPGDq2RHwCWksBqFvANRHnHcnbFsM7SieEplx+QamMaJMFG2C 2uRQ== X-Gm-Message-State: AOJu0YxSsrVVbv4Ysgzbf75VjC+7naMpxq3QI6m2EDIM+g0cFxnu0fe3 z4dCWuT7KD9QlkscVkmhobpOGBPLuvB/jykbCKdNf4bi4TtHlPMa2u71PqiMIzGcg6ZrJsPzj4I FcBmKgg4zC1XSsj9uAmBP/LMc2shlcq7eRCN9VM4MQN0jcHqvsEobpZb8dPB/jmMwMeVQ6eRCIT YlweHK23DKS4l35CPXb23wNJQ/MqQOkoV7U+5o/Q== X-Received: by 2002:ac8:7d92:0:b0:453:74d5:55e4 with SMTP id d75a77b69052e-457f8c98465mr167974131cf.26.1725656100123; Fri, 06 Sep 2024 13:55:00 -0700 (PDT) X-Google-Smtp-Source: AGHT+IHOrOPLWuWAnOTd2r2xKQFRF6LBUa5tCehPbGe28hp2kviiS2ScYNu1LuejvBA7cximXEki+Q== X-Received: by 2002:ac8:7d92:0:b0:453:74d5:55e4 with SMTP id d75a77b69052e-457f8c98465mr167973821cf.26.1725656099737; Fri, 06 Sep 2024 13:54:59 -0700 (PDT) Received: from localhost (88-120-130-27.subs.proxad.net. [88.120.130.27]) by smtp.gmail.com with ESMTPSA id d75a77b69052e-45801b320dasm19321121cf.25.2024.09.06.13.54.59 for <libabigail@sourceware.org> (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 06 Sep 2024 13:54:59 -0700 (PDT) Received: by localhost (Postfix, from userid 1000) id BA626503C602; Fri, 6 Sep 2024 22:54:57 +0200 (CEST) From: Dodji Seketeli <dodji@redhat.com> To: libabigail@sourceware.org Subject: [PATCH, applied] ABIXML reader: Unconditionally map a pointer XML node to its decl Organization: Red Hat / France X-Operating-System: AlmaLinux 9.4 X-URL: http://www.redhat.com Date: Fri, 06 Sep 2024 22:54:57 +0200 Message-ID: <87ikv8h59a.fsf@redhat.com> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/27.2 (gnu/linux) MIME-Version: 1.0 X-Mimecast-Spam-Score: 0 X-Mimecast-Originator: redhat.com Content-Type: text/plain X-Spam-Status: No, score=-12.1 required=5.0 tests=BAYES_00, DKIMWL_WL_HIGH, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, GIT_PATCH_0, RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H3, RCVD_IN_MSPIKE_WL, SPF_HELO_NONE, SPF_NONE, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org X-BeenThere: libabigail@sourceware.org X-Mailman-Version: 2.1.30 Precedence: list List-Id: Mailing list of the Libabigail project <libabigail.sourceware.org> List-Unsubscribe: <https://sourceware.org/mailman/options/libabigail>, <mailto:libabigail-request@sourceware.org?subject=unsubscribe> List-Archive: <https://sourceware.org/pipermail/libabigail/> List-Post: <mailto:libabigail@sourceware.org> List-Help: <mailto:libabigail-request@sourceware.org?subject=help> List-Subscribe: <https://sourceware.org/mailman/listinfo/libabigail>, <mailto:libabigail-request@sourceware.org?subject=subscribe> Errors-To: libabigail-bounces~patchwork=sourceware.org@sourceware.org |
Series |
[applied] ABIXML reader: Unconditionally map a pointer XML node to its decl
|
|
Commit Message
Dodji Seketeli
Sept. 6, 2024, 8:54 p.m. UTC
Hello,
While looking at something else, I noticed that in some rare cases we
might omit to map the XML node representing a pointer to its decl.
* src/abg-reader.cc (build_pointer_type_def): Unconditionally map
a pointer type XML node to its decl.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
---
src/abg-reader.cc | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/src/abg-reader.cc b/src/abg-reader.cc index 74c54336..c926d63a 100644 --- a/src/abg-reader.cc +++ b/src/abg-reader.cc @@ -4501,8 +4501,8 @@ build_pointer_type_def(reader& rdr, maybe_set_artificial_location(rdr, node, t); - if (rdr.push_and_key_type_decl(t, node, add_to_current_scope)) - rdr.map_xml_node_to_decl(node, t); + rdr.push_and_key_type_decl(t, node, add_to_current_scope); + rdr.map_xml_node_to_decl(node, t); // Read the stash from the XML node and stash it into the IR node. read_hash_and_stash(node, t);