]> sourceware.org Git - libabigail.git/commit
ir: Avoid duplicates when reading member functions
authorDodji Seketeli <dodji@redhat.com>
Fri, 22 Dec 2023 10:36:47 +0000 (11:36 +0100)
committerDodji Seketeli <dodji@redhat.com>
Mon, 12 Feb 2024 16:07:28 +0000 (17:07 +0100)
commita13e387f233f0aa0c503215d0d151eb882b81877
tree3ca5ed51a32634c84cefe326c7ab7fab1177829e
parent7e913a08b6ee92a828c5d5a0e52b205038477b8a
ir: Avoid duplicates when reading member functions

As the same class can be read several times, let's avoid having
duplicates of a given virtual member function.

* src/abg-ir.cc (fixup_virtual_member_function): Check if a
virtual member function with the same linkage name exists already
before adding it in.
* tests/data/test-annotate/test18-pr19037-libvtkRenderingLIC-6.1.so.abi:
Adjust.
* tests/data/test-annotate/test20-pr19025-libvtkParallelCore-6.1.so.abi:
Adjust.
* tests/data/test-read-dwarf/PR22122-libftdc.so.abi: Adjust.
* tests/data/test-read-dwarf/test10-pr18818-gcc.so.abi: Adjust.
* tests/data/test-read-dwarf/test18-pr19037-libvtkRenderingLIC-6.1.so.abi:
Adjust.
* tests/data/test-read-dwarf/test20-pr19025-libvtkParallelCore-6.1.so.abi:
Adjust.
* tests/data/test-read-dwarf/test22-pr19097-libstdc++.so.6.0.17.so.abi:
Adjust.
* tests/data/test-read-dwarf/test9-pr18818-clang.so.abi: Adjust.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-ir.cc
tests/data/test-annotate/test18-pr19037-libvtkRenderingLIC-6.1.so.abi
tests/data/test-annotate/test20-pr19025-libvtkParallelCore-6.1.so.abi
tests/data/test-read-dwarf/PR22122-libftdc.so.abi
tests/data/test-read-dwarf/test10-pr18818-gcc.so.abi
tests/data/test-read-dwarf/test18-pr19037-libvtkRenderingLIC-6.1.so.abi
tests/data/test-read-dwarf/test20-pr19025-libvtkParallelCore-6.1.so.abi
tests/data/test-read-dwarf/test22-pr19097-libstdc++.so.6.0.17.so.abi
tests/data/test-read-dwarf/test9-pr18818-clang.so.abi
This page took 0.036586 seconds and 5 git commands to generate.