[Bug 1070] New: libchk / database should have C++ inheritance data

[email protected]
Newsgroups gmane.linux.lsb.test-suite
Message-ID <[email protected]>
When checking virtual tables, libchk currently expects an exact match with the
information from the LSB database.  However, for derived classes, base class
member functions may be overridden by derived member functions with the same
signature without breaking the ABI. bug 1063 documents one known case where the
libstdc++ library changed, which libchk currently can't handle.

Proposed modification from Jakub Jelinek and Stuart Anderson: for C++ libraries
(including libstdc++), capture the inheritance graph in the spec database.  When
a class' virtual table fails to compare exactly with the database information,
check if this is a derived class.  For those only (not for base classes), fall
back to doing a string commpare on the function signature using the mangled name
(stripping off the class name portion).   
 
--    
Configure bugmail: http://bugs.linuxbase.org/userprefs.cgi?tab=email   
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.