public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/29175] New: abidiff ignore symbols outside the first corpus of a corpus group
@ 2022-05-24 14:18 gprocida at google dot com
  2022-05-24 20:29 ` [Bug default/29175] abidiff ignores " gprocida at google dot com
  2022-06-16 16:28 ` [Bug default/29175] handling of symbols outside the first corpus in " gprocida at google dot com
  0 siblings, 2 replies; 3+ messages in thread
From: gprocida at google dot com @ 2022-05-24 14:18 UTC (permalink / raw)
  To: libabigail

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

            Bug ID: 29175
           Summary: abidiff ignore symbols outside the first corpus of a
                    corpus group
           Product: libabigail
           Version: unspecified
            Status: UNCONFIRMED
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: gprocida at google dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

To reproduce:

Make a copy of tests/data/test-diff-filter/test-PR27995.abi.
Change the symbol zl10353_attach in some way, clone it to make another symbol
or remove it.
Run abidiff on the two files.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug default/29175] abidiff ignores symbols outside the first corpus of a corpus group
  2022-05-24 14:18 [Bug default/29175] New: abidiff ignore symbols outside the first corpus of a corpus group gprocida at google dot com
@ 2022-05-24 20:29 ` gprocida at google dot com
  2022-06-16 16:28 ` [Bug default/29175] handling of symbols outside the first corpus in " gprocida at google dot com
  1 sibling, 0 replies; 3+ messages in thread
From: gprocida at google dot com @ 2022-05-24 20:29 UTC (permalink / raw)
  To: libabigail

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

gprocida at google dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|abidiff ignore symbols      |abidiff ignores symbols
                   |outside the first corpus of |outside the first corpus of
                   |a corpus group              |a corpus group

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [Bug default/29175] handling of symbols outside the first corpus in a corpus group
  2022-05-24 14:18 [Bug default/29175] New: abidiff ignore symbols outside the first corpus of a corpus group gprocida at google dot com
  2022-05-24 20:29 ` [Bug default/29175] abidiff ignores " gprocida at google dot com
@ 2022-06-16 16:28 ` gprocida at google dot com
  1 sibling, 0 replies; 3+ messages in thread
From: gprocida at google dot com @ 2022-06-16 16:28 UTC (permalink / raw)
  To: libabigail

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

gprocida at google dot com changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
            Summary|abidiff ignores symbols     |handling of symbols outside
                   |outside the first corpus of |the first corpus in a
                   |a corpus group              |corpus group

--- Comment #1 from gprocida at google dot com ---
There are a few things to consider in abidw and abidiff handling of corpus
groups.

Are symbols in later corpus groups picked up by abidiff? No (this is the
original bug report).

Can symbols be duplicated between different corpora? Yes. Someone is building
lots of modules in one tree (but devices only ship / use a subset of modules
appropriate to the specific hardware). So only certain subsets of the corpora
are meaningful.

Does abidw do the right thing in terms of scoping elf-symbol-id to within each
corpus rather than across the whole DWARF reader / corpus group? Possibly not.

What if symbol x is "int x" in one corpus but "int x(double)" in another?

What will happen if parts of one type (say different member functions) are
spread across multiple corpora? Please don't do this.

I think it would be most useful if we could invent some test corpus groups,
without actually building kernels and kernel modules. I'll talk to Matthias
about this.

It would then be much easier to test and validate abidw behaviour.

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

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2022-06-16 16:28 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-05-24 14:18 [Bug default/29175] New: abidiff ignore symbols outside the first corpus of a corpus group gprocida at google dot com
2022-05-24 20:29 ` [Bug default/29175] abidiff ignores " gprocida at google dot com
2022-06-16 16:28 ` [Bug default/29175] handling of symbols outside the first corpus in " gprocida at google 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).