diff options
author | Dodji Seketeli <dodji@redhat.com> | 2022-07-24 17:33:02 +0200 |
---|---|---|
committer | Dodji Seketeli <dodji@redhat.com> | 2022-07-24 17:33:02 +0200 |
commit | df28c220976f41620b0bd7b22000815e11f66b75 (patch) | |
tree | 0fe1fe0ab99ae363acacd3a16135fab7a9cef873 /COMMIT-LOG-GUIDELINES | |
parent | ir: Consider integral types of same kind and size as equivalent (diff) | |
download | libabigail-master.tar.gz libabigail-master.tar.bz2 libabigail-master.tar.xz |
writer: Make sorting referenced typedefs types stable in abixmlHEADusers/dodji/try-fixesmaster
After the latest commits, it apears that sorting typedefs referenced
by by other types that are emitted in the abixml file is not stable
when the underlying types are integral types.
This happens after the commit:
commit 7cd83740bfe7e58c03ea2a66386dbb0962f7f6de
Author: Dodji Seketeli <dodji@redhat.com>
Date: Fri Jul 22 22:45:04 2022 +0200
ir: Consider integral types of same kind and size as equivalent
This patch fixes that by using the non-internal pretty representation
(which disambiguates integral types) of types for sorting purposes.
* src/abg-writer.cc (read_context::type_ptr_cmp::operator()): In
the less-than operator the type pointer comparison functor, use
the non-internal pretty representation of types for sorting
purposes.
* tests/data/test-annotate/test18-pr19037-libvtkRenderingLIC-6.1.so.abi:
Adjust
* tests/data/test-read-dwarf/test18-pr19037-libvtkRenderingLIC-6.1.so.abi:
Likewise.
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
Diffstat (limited to 'COMMIT-LOG-GUIDELINES')
0 files changed, 0 insertions, 0 deletions