mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-26 19:52:08 +00:00
The Git repository of the Libabigail Project
435f1520d7
* include/abg-ir.h (type_base::get_{size,alignment}_in_bits): Make this virtual. (typedef_decl::get_{size,alignment}_in_bits): Add new member functions. Get the size,alignment from the underlying type and update the current size/alignment if they differ. Keep in mind that the size of an underlying class_decl can change over its lifetime, given how the dwarf reader reads the type information, i.e, there can be a DIE for a class type with no size information that will lead to the creation of a class_decl with size zero. Later during the DWARF reading process, another DIE will supplement the type information, adding size information to that class_decl. In between, a typedef_decl might have been created with the first version of the class_decl that has a zero size. I guess this should be extended to the other type constructs that have an underlying type (qualified types, references and pointers). Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
doc | ||
include | ||
m4 | ||
scripts | ||
src | ||
tests | ||
tools | ||
abigail.m4 | ||
AUTHORS | ||
ChangeLog | ||
COMMIT-LOG-GUIDELINES | ||
COMPILING | ||
config.guess | ||
config.h.in | ||
config.sub | ||
configure.ac | ||
CONTRIBUTING | ||
COPYING | ||
COPYING-LGPLV3 | ||
depcomp | ||
INSTALL | ||
install-sh | ||
libabigail.pc.in | ||
ltmain.sh | ||
Makefile.am | ||
missing | ||
NEWS | ||
README |
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.