]> sourceware.org Git - libabigail.git/commit
abidw: add support for CTF
authorJose E. Marchesi via Libabigail <libabigail@sourceware.org>
Wed, 17 Nov 2021 07:39:03 +0000 (08:39 +0100)
committerDodji Seketeli <dodji@redhat.com>
Thu, 18 Nov 2021 08:51:06 +0000 (09:51 +0100)
commit18569fc1541a3e09610dea548be31b56b0e9abca
tree7d50a9c0cbfb69be42887df9c244d4edf1a71136
parent8324a223dff6d7974a9407978120f06531594fb0
abidw: add support for CTF

This patch adds support for CTF to the abidw utility.  It depends on
the previous patch that makes abigail::ctf_reader::read_corpus to
return a status code.

* tools/abidw.cc: Conditionally include abg-ctf-reader.h.
(load_corpus_and_write_abixml): Do not get a
dwarf_reader::read_context as an argument.
(main): Adjust call to load_corpus_and_write_abixml accordingly.
(struct options): New option use_ctf.
(options): ... and initialize it.
(display_usage): Document --ctf.
(parse_command_line): Handle --ctf.
* doc/manuals/abidw.rst: Document --ctf.

Signed-off-by: Jose E. Marchesi <jose.marchesi@oracle.com>
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
doc/manuals/abidw.rst
tools/abidw.cc
This page took 0.032823 seconds and 5 git commands to generate.