mirror of
git://sourceware.org/git/libabigail.git
synced 2025-02-13 12:07:06 +00:00
The Git repository of the Libabigail Project
In the debug info of least up to GCC 4.4.x, pointer, reference, array and qualified types were in the global scope. In GCC 4.8.x they can belong to the scope of their sub-type. The comparison code of libabigail can thus (wrongly) consider that a qualified type described by GCC 4.4.x debug info is different from the debug info of the *same* qualified type emitted by GCC 4.8.x just because their scopes are different. The scope of qualified, pointer and reference types should not matter anyway. So this patch makes these composite types belong to the global scope, irrespective of where they appear in the debug info. I have seen this when comparing libstdc++ from RHEL 6.5 and 7. This is visible now that we have type canonicalizing. * src/abg-dwarf-reader.cc (build_class_type_and_add_to_ir): Do not consider qualified, pointer, reference and array types as member types. Only typedef, class and enum types are. (build_ir_node_from_die): Stick base, pointer, reference, qualified and array types into the global scope. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
doc | ||
include | ||
m4 | ||
scripts | ||
src | ||
tests | ||
tools | ||
.gitignore | ||
abigail.m4 | ||
AUTHORS | ||
ChangeLog | ||
COMMIT-LOG-GUIDELINES | ||
COMPILING | ||
config.h.in | ||
configure.ac | ||
CONTRIBUTING | ||
COPYING | ||
COPYING-LGPLV2 | ||
COPYING-LGPLV3 | ||
gen-changelog.py | ||
install-sh | ||
libabigail.pc.in | ||
ltmain.sh | ||
Makefile.am | ||
README | ||
test21-type-suppr-0.suppr | ||
test21-type-suppr-report-0.txt |
This is the Application Binary Interface Generic Analysis and Instrumentation Library. It aims at constructing, manipulating, serializing and de-serializing ABI-relevant artifacts. The set of artifacts that we are intersted is made of quantities like types, variable, fonctions and declarations of a given library or program. For a given library or program this set of quantities is called an ABI corpus. This library aims at (among other things) providing a way to comparing two ABI Corpuses, provide detailed information about their differences, and help build tools to infer interesting conclusions about these differences. You are welcome to contribute to this project after reading the files CONTRIBUTING and COMMIT-LOG-GUIDELINES files in the source tree. Communicating with the maintainers of this project -- including sending patches to be include to the source code -- happens via email at libabigail@sourceware.org.