[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Bug default/18941] New: Add a warning option to libabigail tools to report possible DWARF issues



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

            Bug ID: 18941
           Summary: Add a warning option to libabigail tools  to report
                    possible DWARF issues
           Product: libabigail
           Version: unspecified
            Status: NEW
          Severity: normal
          Priority: P2
         Component: default
          Assignee: dodji at redhat dot com
          Reporter: dodji at redhat dot com
                CC: libabigail at sourceware dot org
  Target Milestone: ---

Sometimes it's interesting to raise awareness about some noticeable constructs
found in the debug information of the binary we are interested in.

For instance, there can be situations where a library does not have any debug
information for a class because the compiler knows that it will be emitted
along with the vtable in another library.  In that case, only a simple forward
declaration is found for the class in the current library.

This is fine for debugging, but interferes with ABI verification.

In this case, it would be useful that abidiff, abidw or other related tools
emit a clear diagnostic about the situation.  The library maintainer could deal
with the issue by using e.g the -femit-class-debug-always option of the G++
where she sees fit.

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