mirror of
git://sourceware.org/git/libabigail.git
synced 2024-12-14 22:14:35 +00:00
95535d8f6f
There was an inconsistency in the way the diff context was used for different file types. This change eliminates this and so .bi files now have all the command line options applied to their diffs. * tests/data/Makefile.am: Add test case files. * tests/data/test-abidiff-exit/test-loc-*: New test cases. * tests/test-abidiff-exit.cc (in_out_specs): Add new test cases. * tools/abidiff.cc (main): Use populated ctxt for translation unit diff. Signed-off-by: Giuliano Procida <gprocida@google.com> Signed-off-by: Dodji Seketeli <dodji@redhat.com>
14 lines
797 B
Plaintext
14 lines
797 B
Plaintext
<abi-corpus path='test-loc-v1.o' architecture='elf-amd-x86_64'>
|
|
<elf-function-symbols>
|
|
<elf-symbol name='x' type='func-type' binding='global-binding' visibility='default-visibility' is-defined='yes'/>
|
|
</elf-function-symbols>
|
|
<abi-instr version='1.0' address-size='64' path='test-loc-v1.c' comp-dir-path='/tmp' language='LANG_C99'>
|
|
<type-decl name='signed char' size-in-bits='8' id='type-id-1'/>
|
|
<type-decl name='void' id='type-id-2'/>
|
|
<function-decl name='x' mangled-name='x' filepath='test-loc-v1.c' line='1' column='1' visibility='default' binding='global' size-in-bits='64' elf-symbol-id='x'>
|
|
<parameter type-id='type-id-1' name='y' filepath='test-loc-v1.c' line='1' column='1'/>
|
|
<return type-id='type-id-2'/>
|
|
</function-decl>
|
|
</abi-instr>
|
|
</abi-corpus>
|