From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 48) id 7D4A13857358; Tue, 7 Jun 2022 20:06:41 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 7D4A13857358 From: "gprocida at google dot com" To: libabigail@sourceware.org Subject: [Bug default/29144] abidiff does not report base class reordering Date: Tue, 07 Jun 2022 20:06:41 +0000 X-Bugzilla-Reason: CC X-Bugzilla-Type: changed X-Bugzilla-Watch-Reason: None X-Bugzilla-Product: libabigail X-Bugzilla-Component: default X-Bugzilla-Version: unspecified X-Bugzilla-Keywords: X-Bugzilla-Severity: normal X-Bugzilla-Who: gprocida at google dot com X-Bugzilla-Status: ASSIGNED X-Bugzilla-Resolution: X-Bugzilla-Priority: P2 X-Bugzilla-Assigned-To: dodji at redhat dot com X-Bugzilla-Target-Milestone: --- X-Bugzilla-Flags: X-Bugzilla-Changed-Fields: Message-ID: In-Reply-To: References: Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Bugzilla-URL: http://sourceware.org/bugzilla/ Auto-Submitted: auto-generated MIME-Version: 1.0 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: Tue, 07 Jun 2022 20:06:41 -0000 https://sourceware.org/bugzilla/show_bug.cgi?id=3D29144 --- Comment #2 from gprocida at google dot com --- Hi Dodji. I think this works, at least to some degree. However, we were wondering if = it would make sense to mention *offsets* rather than just the *order* of base classes. There is also a second thing, one which I haven't had time to look into at = all, beyond vaguely remembering the distinction and compiling some code. Somethi= ng like the following. Or perhaps with s/class/struct/. class base { int x; }; class a : base { int y; }; class b : base { int z; }; class derived : a, b { }; vs class derived : virtual a, virtual b { }; I wonder if it's possible to get in a situation where layout changes are missed. Regards, Giuliano. --=20 You are receiving this mail because: You are on the CC list for the bug.=