libabigail/tests
Guillermo E. Martinez a846964b0b ctf-reader: shows incomplete summary changes
During corpus comparison with ctf support, summary changes for functions
and variables are shown like to the binaries doesn't have ctf debug
information, even though they were compiled with '-gctf' compiler
modifier, e.g:

2 Removed function symbols not referenced by debug info:

  [D] elf32_test_main@@ELFUTILS_1.7
  [D] elf64_test_main@@ELFUTILS_1.7

So, expected changes summary should be:

2 Removed functions:

  [D] 'function long int elf32_test_main()'    {elf32_test_main@@ELFUTILS_1.7}
  [D] 'function long int elf64_test_main()'    {elf64_test_main@@ELFUTILS_1.7}

	* src/abg-ctf-reader.cc (read_context::exported_decls_builder_):
	Add new data member.
	(read_context::exported_decls_builder): Add new get/set member functions.
	(read_context::maybe_add_{fn,var}_to_exported_decls): Likewise.
	(read_context::initialize): Initialize exported_decls_builder_ member.
	(read_context::build_ir_node_for_variadic_parameter_type): Add new function.
	(read_context::process_ctf_function_type): Add additional code to handle
	function's variadic parameter.
	(read_context::process_ctf_archive): Rename variable for clarity
	from `ctf_var_type' to `ctf_sym_type', using new member functions
	`maybe_add_{fn,var}_to_exported_decls'.
	(read_context::read_corpus): Set `exported_decls_builder'.
	* tests/test-read-common.cc (test_task::run_abidw): Fix error message.
	* tests/data/test-read-ctf/test-PR26568-1.o.abi: Adjust test case.
	* tests/data/test-read-ctf/test-PR26568-2.o.abi: Likewise.
	* tests/data/test-read-ctf/test-anonymous-fields.o.abi Likewise.
	* tests/data/test-read-ctf/test5.o.abi: Likewise.
	* tests/data/test-read-ctf/test7.o.abi: Likewise.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2022-05-13 14:08:28 +02:00
..
data ctf-reader: shows incomplete summary changes 2022-05-13 14:08:28 +02:00
lib tests/catch.hpp: Add SPDX header back 2021-03-08 11:33:56 +01:00
.gitignore
Makefile.am Add regression tests for ctf reading 2021-12-14 16:45:58 +01:00
mockfedabipkgdiff.in Handle several variants of Python 'imp', 'importlib' modules 2022-01-06 15:44:29 +01:00
print-diff-tree.cc Move dwarf_reader::status facilities to an abigail::elf_reader namespace 2021-11-15 11:08:53 +01:00
runtestcanonicalizetypes.sh.in
runtestdefaultsupprs.py.in
runtestdefaultsupprspy3.sh.in
runtestfedabipkgdiff.py.in
runtestfedabipkgdiffpy3.sh.in
runtestslowselfcompare.sh.in
test-abicompat.cc test-abicompat: Make the test output more pleasant 2021-11-09 15:35:19 +01:00
test-abidiff-exit.cc Standardize and improve the output of several tests 2021-11-17 12:44:16 +01:00
test-abidiff.cc Bug 27985 - abidiff: bad array types in report 2021-09-03 11:08:01 +02:00
test-alt-dwarf-file.cc Standardize and improve the output of several tests 2021-11-17 12:44:16 +01:00
test-annotate.cc Add regression tests for ctf reading 2021-12-14 16:45:58 +01:00
test-core-diff.cc
test-cxx-compat.cc abg-cxx-compat: add simplified version of std::optional 2021-03-09 10:41:10 +01:00
test-diff2.cc
test-diff-dwarf-abixml.cc Standardize and improve the output of several tests 2021-11-17 12:44:16 +01:00
test-diff-dwarf.cc Move dwarf_reader::status facilities to an abigail::elf_reader namespace 2021-11-15 11:08:53 +01:00
test-diff-filter.cc Bug 28013 - Acknowledge variadic parameter type is not canonicalized 2022-03-07 09:59:15 +01:00
test-diff-pkg.cc configure: Instead of for rpm 4.15+ version, test actual rpm/zstd support 2021-12-17 21:13:25 +01:00
test-diff-suppr.cc suppression: Fix has_data_member_inserted_between = {offset_of(), offset_of()} 2021-12-06 14:39:32 +01:00
test-dot.cc
test-elf-helpers.cc
test-ini.cc Standardize and improve the output of several tests 2021-11-17 12:44:16 +01:00
test-ir-walker.cc Move dwarf_reader::status facilities to an abigail::elf_reader namespace 2021-11-15 11:08:53 +01:00
test-kmi-whitelist.cc
test-lookup-syms.cc Standardize and improve the output of several tests 2021-11-17 12:44:16 +01:00
test-read-common.cc ctf-reader: shows incomplete summary changes 2022-05-13 14:08:28 +02:00
test-read-common.h Add regression tests for ctf reading 2021-12-14 16:45:58 +01:00
test-read-ctf.cc ctf-reader: Add support to read CTF information from the Linux Kernel 2022-05-13 09:11:37 +02:00
test-read-dwarf.cc Add regression tests for ctf reading 2021-12-14 16:45:58 +01:00
test-read-write.cc symtab: Add support for MODVERSIONS (CRC checksums) 2021-04-02 16:13:13 +02:00
test-svg.cc
test-symtab-reader.cc dwarf-reader split: create abg-symtab-reader.{h,cc} and test case 2021-03-10 18:54:55 +01:00
test-symtab.cc Move dwarf_reader::status facilities to an abigail::elf_reader namespace 2021-11-15 11:08:53 +01:00
test-tools-utils.cc
test-types-stability.cc Bug 28450 - Fix cloned member function handling in DWARF 2021-11-12 18:31:28 +01:00
test-utils.cc test-utils: Define test status reporting functions 2021-11-17 12:02:37 +01:00
test-utils.h test-utils: Define test status reporting functions 2021-11-17 12:02:37 +01:00
test-valgrind-suppressions.supp
update-test-output.py