mirror of
git://sourceware.org/git/libabigail.git
synced 2025-01-12 04:19:30 +00:00
The Git repository of the Libabigail Project
e083531584
Inside a given ABI corpus, during type canonicalization, function types are compared structurally (member-wise). Note that on the other hand, class, enums and basic types are compared using an ODR-based optimization: only their type names are compared. This makes function types comparison be *super slow* for ABI corpora with a lot of function types. This patch fixes that by enabling the ODR-based comparison optimization for function types too, during type canonicalization. * src/abg-ir.cc (type_eligible_for_odr_based_comparison): Factorize this out of type_base::get_canonical_type_for. Also, add function types to the set of types to use the ODR-based comparison optimization on. (type_base::get_canonical_type_for): Use the new type_eligible_for_odr_based_comparison function. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
autoconf-archive | ||
bash-completion | ||
doc | ||
include | ||
m4 | ||
scripts | ||
src | ||
tests | ||
tools | ||
.gitignore | ||
abigail.m4 | ||
AUTHORS | ||
ChangeLog | ||
COMMIT-LOG-GUIDELINES | ||
COMPILING | ||
configure.ac | ||
CONTRIBUTING | ||
COPYING | ||
COPYING-GPLV3 | ||
COPYING-LGPLV2 | ||
COPYING-LGPLV3 | ||
default.abignore | ||
gen-changelog.py | ||
install-sh | ||
libabigail.pc.in | ||
ltmain.sh | ||
Makefile.am | ||
NEWS | ||
README | ||
release-text-template.txt | ||
VISIBILITY |
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 compare two ABI Corpora (apparently the plural of corpus is copora, heh, that's cool), 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.