abidw: Make generic options like --verbose work with the ABIXML front-end
* tools/abidw.cc (set_generic_options): Take a fe_iface in parameter, not an elf_based_reader. (perform_self_comparison): Call set_generic_options. Signed-off-by: Dodji Seketeli <dodji@redhat.com>
This commit is contained in:
parent
7a62ac1526
commit
7de9d769bc
|
@ -612,7 +612,7 @@ set_suppressions(abigail::elf_based_reader& rdr, options& opts)
|
|||
///
|
||||
/// @param opts the command line options.
|
||||
static void
|
||||
set_generic_options(abigail::elf_based_reader& rdr, options& opts)
|
||||
set_generic_options(abigail::fe_iface& rdr, options& opts)
|
||||
{
|
||||
rdr.options().drop_undefined_syms = opts.drop_undefined_syms;
|
||||
rdr.options().show_stats = opts.show_stats;
|
||||
|
@ -675,6 +675,7 @@ perform_self_comparison(const write_context_sptr& write_ctxt,
|
|||
}
|
||||
#endif
|
||||
fe_iface_sptr rdr = abixml::create_reader(tmp_file->get_path(), env);
|
||||
set_generic_options(*rdr, opts);
|
||||
|
||||
#ifdef WITH_DEBUG_SELF_COMPARISON
|
||||
if (opts.debug_abidiff
|
||||
|
|
Loading…
Reference in New Issue