libabigail/tools
Dodji Seketeli d3e1c98f83 Fix reading/writing native xml corpus files
* src/abg-reader.cc (read_context::clear_type_map): New member
	function.
	(read_translation_unit_from_input): Read up to the next element
	node if we are not on an element node already.  Clear the type
	map.  Realize that we might be on the next 'abi-instr' node upon
	completion.
	(read_corpus_from_input): Read up to the next element node if we
	are not on an element node already.  It must be an "abi-corpus"
	node.  THen Advance to the next 'abi-instr' element node before
	handing it to read_translation_unit_from_input.
	* src/abg-writer.cc (write_context::clear_type_id_map): New member
	function.
	(write_translation_unit): Call it.
	* tools/abg-tools-utils.cc (guess_file_type): Read enough bytes to
	detect abi-corpus files magic bytes.
	* tools/bilint.cc (main): Do not write the corpus file to the
	output stream if --noout has been provided.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
2014-01-13 17:36:20 +01:00
..
abg-tools-utils.cc Fix reading/writing native xml corpus files 2014-01-13 17:36:20 +01:00
abg-tools-utils.h Support new 'abi-corpus' native XML format (.abi) 2014-01-07 14:12:26 +01:00
biar.cc Prepare serialization API for multiple backends 2013-12-04 20:26:38 +01:00
bidiff.cc Support new 'abi-corpus' native XML format (.abi) 2014-01-07 14:12:26 +01:00
bidw.cc Support new 'abi-corpus' native XML format (.abi) 2014-01-07 14:12:26 +01:00
bilint.cc Fix reading/writing native xml corpus files 2014-01-13 17:36:20 +01:00
Makefile.am Initial support of reading an ABI Corpus from DWARF 2013-12-07 08:07:54 +01:00