mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-22 09:49:59 +00:00
2486b210ff
commit eea9ce11eabfda96b2192341b50e9dcc27653369
Author: Dodji Seketeli <dodji@redhat.com>
Date: Mon Mar 30 22:02:52 2015 +0200
18180 - runtestreadwrite fails on i386
The issue here is that unresolved decl-only classes and resolved
decl-only classes have the same hash value (zero), and that changes
the type-id of the resolved decl-only class.
This patch ensures that the hash value of a decl-only class is zero
only for non-resolved classes. The patch also fixes an error in an
input XML file.
* src/abg-hash.cc (class_decl:#️⃣:operator()(const class_decl&)
const): Return zero only for class declarations that are not
resolved.
* tests/data/test-read-write/test20.xml: Fix the output to make a
class definition to reference its declaration, when there was a
forward declaration for it.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
|
||
---|---|---|
.. | ||
test0.xml | ||
test1.xml | ||
test2.xml | ||
test3.xml | ||
test4.xml | ||
test5.xml | ||
test6.xml | ||
test7.xml | ||
test8.xml | ||
test9.xml | ||
test10.xml | ||
test11.xml | ||
test12.xml | ||
test13.xml | ||
test14.xml | ||
test15.xml | ||
test16.xml | ||
test17.xml | ||
test18.xml | ||
test19.xml | ||
test20.xml | ||
test21.xml | ||
test22.xml | ||
test23.xml | ||
test24.xml | ||
test25.xml | ||
test26.xml |