public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/20914] New: New categorization pass to filter out data member  insertions at the end of structs
@ 2016-01-01  0:00 dodji at redhat dot com
  0 siblings, 0 replies; only message in thread
From: dodji at redhat dot com @ 2016-01-01  0:00 UTC (permalink / raw)
  To: libabigail

https://sourceware.org/bugzilla/show_bug.cgi?id=20914

            Bug ID: 20914
           Summary: New categorization pass to filter out data member
                    insertions at the end of structs
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: enhancement
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: dodji at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

Let's consider a struct or class S.  If a data member is added at the end of S
and if no other struct/class contains S and if no function has a parameter or
return value of type S, then it seems to me that the data member insertion into
S can be considered harmless from an ABI compatibility standpoint and can thus
be filtered out of the ABI change report.

Note that by "a class contains S", I mean either a class inherits S or a class
contains a data member of type S.

I believe libabigail provides the necessary framework to implement a
categorization pass like this one.  It would be interesting to actually
implement it and see what we get.

-- 
You are receiving this mail because:
You are on the CC list for the bug.

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2016-12-02 14:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2016-01-01  0:00 [Bug default/20914] New: New categorization pass to filter out data member insertions at the end of structs dodji at redhat dot com

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).