public inbox for libabigail@sourceware.org
 help / color / mirror / Atom feed
* [Bug default/29458] New: abidw considers (some) function-local types to belong to the wrong scope
@ 2022-08-08 17:23 gprocida at google dot com
  0 siblings, 0 replies; only message in thread
From: gprocida at google dot com @ 2022-08-08 17:23 UTC (permalink / raw)
  To: libabigail

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

            Bug ID: 29458
           Summary: abidw considers (some) function-local types to belong
                    to the wrong scope
           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: ---

I was looking at commit df28c220976f41620b0bd7b22000815e11f66b75 (current
master) and the update to the test files there showed an interesting change.

There are multiple vtkPixelTransfer::VTK_TT typedefs in the ABI. However, both
dwarfdump and the original source code show that VTK_TT is a function-local
(actually block-local) type.

Source:
https://github.com/Kitware/VTK/blob/master/Common/Core/vtkSetGet.h#L1064

This suggests that libabigail is attributing the type to the wrong scope.

However, with all the macro and template magic going on, it's hard to be 100%
certain.

-- 
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:[~2022-08-08 17:23 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-08-08 17:23 [Bug default/29458] New: abidw considers (some) function-local types to belong to the wrong scope 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).