libabigail/tools
Matthias Maennich f3f7537b6e abidw: add option to only emit file names (--short-locs)
Various emitted directories contain machine specific information and
therefore break reproducibility of abidw's output across different
build paths.

Hence introduce --short-locs to only emit file names.

Thanks to earlier changes, adding an option boils down to adding it to
set_opts and to the write_context along with some auxiliary functions
for setting and getting.

	* include/abg-writer.h (set_short_locs): Declare new function.
	(set_common_options): Use it.
	set_opts
	* src/abg-writer.cc (write_context::m_short_locs): New data
	member.
	(write_context::write_context): Initialize it.
	(write_context::{g,s}et_short_locs): Define new accessors.
	(write_location, write_translation_unit, write_corpus): Honour the
	new write_context::get_short_locs property.
	(set_short_locs): Define new function.
	* tools/abidw.cc (options::short_locs): New data member.
	(display_usage): Help string for the new --no-show-locs option.
	(parse_command_line): Parse the new --no-show-locs option.

Signed-off-by: Matthias Maennich <maennich@google.com>
Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2019-05-22 14:33:45 +02:00
..
.gitignore Update .gitignore files to ignore typical dev side products 2019-04-16 16:32:52 +02:00
abiar.cc Update copyright for 2019 2019-01-07 14:54:47 +01:00
abicompat.cc Bug 23044 - Assertions with side effects 2019-01-09 18:36:56 +01:00
abidiff.cc Separate public types of first binary from those of the second 2019-01-16 12:27:45 +01:00
abidw.cc abidw: add option to only emit file names (--short-locs) 2019-05-22 14:33:45 +02:00
abilint.cc abg-writer: Refactor write_corpus API 2019-05-22 14:33:45 +02:00
abipkgdiff.cc Bug 23044 - Assertions with side effects 2019-01-09 18:36:56 +01:00
abisym.cc Update copyright for 2019 2019-01-07 14:54:47 +01:00
binilint.cc Update copyright for 2019 2019-01-07 14:54:47 +01:00
fedabipkgdiff Bug 22722 - Make fedabipkgdiff and its tests support both python 3 and 2 2018-03-29 13:46:50 +02:00
kmidiff.cc Update copyright for 2019 2019-01-07 14:54:47 +01:00
Makefile.am Support loading and comparing two kernel trees 2017-07-03 17:45:36 +02:00