The Git repository of the Libabigail Project
Go to file
Dodji Seketeli 760248d26b Support var decl & mangled_name attributes
* src/abg-ir.h (decl_base::binding, decl_base::get_mangled_name)
	(decl_base::set_mangled_name, decl_base::m_mangled_name): New
	declarations.
	(scope_decl::scope_decl: type_decl::type_decl)
	(scope_type_decl::scope_type_decl, typedef_decl::typedef_decl):
	Initialize mangled_name.
	(namespace_decl::namespace_decl): Initialize visibility.
	(class var_decl): New declaration.
	* src/abg-ir.cc (decl_base::decl_base, scope_decl::scope_decl)
	(type_decl::type_decl, scope_type_decl::scope_type_decl):
	Initialize mangled name.
	(namespace_decl::namespace_decl): Initialize visibility.
	(qualified_type_def::qualified_type_def)
	(pointer_type_def::pointer_type_def)
	(reference_type_def::reference_type_def): By default, set the
	visibility to the same as for the underlying type.
	(enum_type_decl::enum_type_decl, typedef_decl::typedef_decl):
	Initialize mangled name.
	(var_decl::var_decl, var_decl::operator==, var_decl::~var_decl):
	New definitions.
	* src/abg-reader.cc (read_visibility, read_binding, handle_var_decl): New
	definitions.
	(read_file): Handle var-decl elements.
	* src/abg-writer.cc (write_location): Rename write_decl_location
	into this.
	(write_var_decl, write_visibility, write_binding): New definitions.
	(write_decl, write_type_decl, write_qualified_type_def)
	(write_pointer_type_def, write_reference_type_def)
	(write_enum_type_decl, write_typedef_decl): Adjust to use
	write_location.
	* tests/data/test-read-write/test8.xml: New test input.
	* tests/test-read-write.cc: De-serialize the above and serialize
	it back and ensure both are equal.
	* tests/Makefile.am: add tests/data/test-read-write/test8.xml to
	the distribution.
2013-04-02 16:51:59 +02:00
m4 Various autotool adjustments 2013-03-27 21:01:54 +01:00
src Support var decl & mangled_name attributes 2013-04-02 16:51:59 +02:00
tests Support var decl & mangled_name attributes 2013-04-02 16:51:59 +02:00
.gitignore Parse type-decl and namespace-decl elements 2013-03-08 14:31:37 +01:00
AUTHORS Initial AUTHORS and README 2013-02-28 13:25:20 +01:00
ChangeLog Initial import Abigail 2013-02-28 11:42:57 +01:00
config.guess Add missing autoconfiscation files into version control 2013-03-01 00:47:49 +01:00
config.h.in Initial import Abigail 2013-02-28 11:42:57 +01:00
config.sub Add missing autoconfiscation files into version control 2013-03-01 00:47:49 +01:00
configure Various autotool adjustments 2013-03-27 21:01:54 +01:00
configure.ac Various autotool adjustments 2013-03-27 21:01:54 +01:00
COPYING Leave license stuff for later 2013-02-28 13:20:19 +01:00
depcomp Add missing autoconfiscation files into version control 2013-03-01 00:47:49 +01:00
INSTALL Initial import Abigail 2013-02-28 11:42:57 +01:00
install-sh Add missing autoconfiscation files into version control 2013-03-01 00:47:49 +01:00
ltmain.sh Add missing autoconfiscation files into version control 2013-03-01 00:47:49 +01:00
Makefile.am Debugged type-decl de-serialization 2013-03-21 23:57:22 +01:00
missing Add missing autoconfiscation files into version control 2013-03-01 00:47:49 +01:00
NEWS Initial import Abigail 2013-02-28 11:42:57 +01:00
README Update the README file 2013-03-01 00:35:20 +01:00

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.