ac1409d...
by
Dodji Seketeli <email address hidden>
Support for serialization of member types
cp/ChangeLog:
* abi-instr.cc (gen_scope_of): Member types are linked to their
scope via their DECL_CONTEXT (TYPE_NAME()), not their
TYPE_CONTEXT. <grin/>. Also, do not add empty elements to the
scope hash table.
(gen_scope_decl): Do not use a scope that is not yet fully built.
We should not be using gen_scope_decl while building type or decl
members. Rather, we should just be sticking the members into the
non-fully-built type/decl that we have at hand.
(gen_class_type_in_scope): Handle member types. Also, for member
functions, use the new (more generic) version of
abigail::add_decl_to_scope.
gcc/testsuite/ChangeLog:
* g++.dg/abi-dump/bases-0.C.bi: Update this for member type(def).
* g++.dg/abi-dump/simple-class-0.C.bi: Likewise.
c078244...
by
Dodji Seketeli <email address hidden>
Update test suite for libabigail commit c171331c0dbb613
gcc/testsuite:
* g++.dg/abi-dump/bases-0.C.bi: Update this for libabigail now
serializes constructor='yes' and const='yes' attribute on
'member-function' XML elements.
* g++.dg/abi-dump/simple-class-0.C.bi: Likewise.
2200dff...
by
Dodji Seketeli <email address hidden>
e0d81f4...
by
Dodji Seketeli <email address hidden>
Update configure script libabigail use as dependency
* configure: Update for libabigail use as dependency as opposed to
in-tree.
0a40a2f...
by
Dodji Seketeli <email address hidden>
Update abi-instr.cc wrt include dir layout and writer api changes
* cp/abi-instr.cc: Use libabigail headers without specifying the
libabigail sub-directory. That now works when using libabigail as
(a library copied into the GCC tree (ugly but some GCC developers
likes doing that) and when libabigail is used as a dependency that
is make install-ed (that's my preferred usage case because that is
what we will encounter in distributions' related usage cases)
provided -I $includedir/libabigail is given on the command line.
For non GCC usage case though, I'd recommend that user just write
#include libabigail/abg-*.h.
(abi_instr_dump_file): Use the new
translation_unit::write.
0232218...
by
Dodji Seketeli <email address hidden>
Update copy of abigail.m4 from upstream commit 6c828d2
* config/abigail.m4: The include path used for compilation goes to
$includedir/libabigail.
5586f95...
by
Dodji Seketeli <email address hidden>
Update copy of abigail.m4 from upstream commit 0d028bc
* abigail.m4: Make $abigaillibs statically link libabigail by default.
4cce3c0...
by
Dodji Seketeli <email address hidden>
Update for libabigail headers move to libabigail/*.h
* gcc/cp/abi-instr.cc: Move headers under the libabigail directory.
82569e8...
by
Dodji Seketeli <email address hidden>
Add test for bases serialization support
* g++.dg/abi-dump/bases-0.C: New test case.
* g++.dg/abi-dump/bases-0.C.bi: New test input.
5d9284c...
by
Dodji Seketeli <email address hidden>
Cleanup abi dumps from simple-class-0.C test
gcc/testsuite/
* g++.dg/abi-dump/simple-class-0.C: Cleanup abi dumps.