mirror of
git://sourceware.org/git/libabigail.git
synced 2025-02-15 13:07:00 +00:00
For DIE originating from C, we now compute canonical DIEs. We then use that to compare DIEs to see if they are equal or not. So string representation of DIEs are now used only to reduce the number of DIEs comparisons that is performed during DIE canonicalization. We can thus just use function names (rather than a full die_function_signature) as a way to reduce the number of structural comparisons of DIEs during canonicalization. This patch does just that. Note that in the future when we perform DIEs canonicalization and comparison for C++, we can avoid computing full function DIE signatures for C++ too. * src/abg-dwarf-reader.cc (die_function_signature): For C DIEs, just return the (linkage) name of the function. * tests/data/test-annotate/test15-pr18892.so.abi: Adjust. * tests/data/test-annotate/test21-pr19092.so.abi: Adjust. * tests/data/test-read-dwarf/test15-pr18892.so.abi: Adjust. * tests/data/test-read-dwarf/test21-pr19092.so.abi: Adjust. Signed-off-by: Dodji Seketeli <dodji@redhat.com> |
||
---|---|---|
.. | ||
libtest23.so.abi | ||
libtest24-drop-fns-2.so.abi | ||
libtest24-drop-fns.so.abi | ||
test0.abi | ||
test1.abi | ||
test2.so.abi | ||
test3.so.abi | ||
test4.so.abi | ||
test5.o.abi | ||
test6.so.abi | ||
test7.so.abi | ||
test8-qualified-this-pointer.so.abi | ||
test13-pr18894.so.abi | ||
test14-pr18893.so.abi | ||
test15-pr18892.so.abi | ||
test17-pr19027.so.abi | ||
test18-pr19037-libvtkRenderingLIC-6.1.so.abi | ||
test19-pr19023-libtcmalloc_and_profiler.so.abi | ||
test20-pr19025-libvtkParallelCore-6.1.so.abi | ||
test21-pr19092.so.abi |