From: Dodji Seketeli <dodji@seketeli.org>
To: "Guillermo E. Martinez via Libabigail" <libabigail@sourceware.org>
Cc: "Guillermo E. Martinez" <guillermo.e.martinez@oracle.com>
Subject: Re: [PATCHv3] ELF based front-end readers fallback feature
Date: Tue, 22 Nov 2022 15:19:29 +0100 [thread overview]
Message-ID: <87pmdfoyvi.fsf@seketeli.org> (raw)
In-Reply-To: <20221121185102.1163007-1-guillermo.e.martinez@oracle.com> (Guillermo E. Martinez via Libabigail's message of "Mon, 21 Nov 2022 12:51:02 -0600")
Hello Guillermo,
"Guillermo E. Martinez via Libabigail" <libabigail@sourceware.org> a
écrit:
[...]
> * doc/manuals/abidiff.rst: Adjust usage tool information
> to indicates fallback for CTF debug info when DWARF info
> is not present.
> * doc/manuals/abidw.rst: Likewise.
> * doc/manuals/abipkgdiff.rst: Likewise.
> * doc/manuals/kmidiff.rst: Likewise.
> * include/abg-elf-based-reader.h (initialize): Add member function.
> * include/abg-elf-reader.h (has_{dwarf,ctf}_debug_info): Add predicate
> functions.
> * include/abg-tools-utils.h (create_best_elf_based_reader): Add arguments.
> * src/abg-ctf-reader.cc (process_ctf_typedef, process_ctf_base_type)
> (process_ctf_function_type, process_ctf_sou_members, process_ctf_forward_type)
> (process_ctf_struct_type, process_ctf_union_type, process_ctf_array_type)
> (process_ctf_qualified_type, process_ctf_pointer_type, process_ctf_enum_type):
> Remove arguments. Using getters to access required information instead.
> (reader::cur_tu_): Add data member.
> (initialize): Add arguments.
> (cur_transl_unit): Add {get,set)ter.
> (slurp_elf_info): Clear `STATUS_DEBUG_INFO_NOT_FOUND' if corpus is
> `LINUX_KERNEL_BINARY_ORIGIN'.
> (reader::lookup_type): Remove.
> (reader::build_type): New member function.
> * src/abg-elf-reader.cc (reader::reader): Locate ctf debug info from binary file.
> (reader::reader): Reset base `fe_iface' constructor.
> (reader::has_{dwarf,ctf}_debug_info): New definitions.
> (reader::read_corpus): Set `STATUS_DEBUG_INFO_NOT_FOUND' according to corpus::origin.
> * src/abg-tools-utils.cc (dir_contains_ctf_archive): Define new member.
> (file_has_ctf_debug_info): Looks for kernel ctf debug information archive.
> (maybe_load_vmlinux_{dwarf,ctf}_corpus): Remove.
> (load_vmlinux_corpus): Define function to load IR from kernel regardless the
> corpus::origin.
> (build_corpus_group_from_kernel_dist_under): Make use of
> `create_best_elf_based_reader'
> to select the front-end.
> (create_best_elf_based_reader): Adjust to allow fallback behaviour for different
> front-ends.
> * tests/data/Makefile.am: Add tests.
> * tests/data/test-diff-pkg-ctf/dirpkg-3-report-2.txt: Adjust.
> * tests/data/test-read-ctf/test-fallback.abi: New test case.
> * tests/data/test-read-ctf/test-fallback.c: Likewise.
> * tests/data/test-read-ctf/test-fallback.o: Likewise.
> * tests/data/test-read-dwarf/test-fallback.abi: Likewise.
> * tests/data/test-read-dwarf/test-fallback.c: Likewise.
> * tests/data/test-read-dwarf/test-fallback.o: Likewise.
> * tests/test-diff-pkg.cc: Adjust.
> * tests/test-read-common.cc (test_task::run_abidw): Use of `options:option' field.
> * tests/test-read-common.h (InOutSpec): Add new member.
> * tests/test-read-ctf.cc (in_out_specs): Add option field to test suite.
> Add new test case.
> * tests/test-read-dwarf.cc: Likewise.
> * tools/abidiff.cc (main): Use `create_best_elf_based_reader'.
> * tools/abidw.cc: Likewise.
> * tools/abipkgdiff.cc: Likewise.
It looks like the patch lacks the file
tests/data/test-read-dwarf/test-fallback.o. Here is what I am getting
when I do "make distcheck-fast":
make[7]: *** No rule to make target 'test-read-dwarf/test-fallback.o', needed by 'distdir-am'. Stop.
[...]
Cheers,
--
Dodji
next prev parent reply other threads:[~2022-11-22 14:19 UTC|newest]
Thread overview: 17+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-10-01 0:15 [PATCH] CTF as a fallback when no DWARF debug info is present Guillermo E. Martinez
2022-10-04 9:04 ` Dodji Seketeli
2022-10-04 23:13 ` Guillermo E. Martinez
2022-10-06 7:42 ` Dodji Seketeli
2022-10-06 14:12 ` Dodji Seketeli
2022-10-07 14:13 ` Guillermo E. Martinez
2022-10-06 19:53 ` Guillermo Martinez
2022-10-06 19:50 ` Guillermo E. Martinez
2022-10-07 13:38 ` Dodji Seketeli
2022-10-07 16:04 ` Ben Woodard
2022-11-15 20:13 ` [PATCHv2] ELF based front-end readers fallback feature Guillermo E. Martinez
2022-11-21 18:51 ` [PATCHv3] " Guillermo E. Martinez
2022-11-22 14:19 ` Dodji Seketeli [this message]
2022-11-22 16:02 ` Guillermo E. Martinez
2022-11-22 16:00 ` [PATCH v4] " Guillermo E. Martinez
2022-11-28 15:56 ` Dodji Seketeli
2022-11-28 21:59 ` Guillermo E. Martinez
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=87pmdfoyvi.fsf@seketeli.org \
--to=dodji@seketeli.org \
--cc=guillermo.e.martinez@oracle.com \
--cc=libabigail@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).