]> sourceware.org Git - libabigail.git/commit
Bug 18791 - libabigail fails to read the output of abidw
authorDodji Seketeli <dodji@redhat.com>
Sun, 9 Aug 2015 00:11:17 +0000 (02:11 +0200)
committerDodji Seketeli <dodji@redhat.com>
Sun, 9 Aug 2015 00:11:17 +0000 (02:11 +0200)
commit242e49a321845ca30785594f3b00b15bf3f6b555
tree6214fe67c19365d603fd9595cf7ef2b26d1d59bf
parent11b536e4fc538f50bc26e2905eecd5a8a708758e
Bug 18791 - libabigail fails to read the output of abidw

The reader fails to set the access specifier for a member type.  Fixed
thus.

* src/abg-reader.cc (read_context::get_scope_for_node): Take an
access_specifier output parameter to set the access specifier of
the current node in its scope.  Update the function to set the
access_specifier.
(read_context::build_or_get_type_decl): Adjust to set the access
specifier of the type we are building, in case it's a member type.
* tests/data/test-abidiff/test-PR18791-v{0,1}.so.abi: New test input files.
* tests/data/test-abidiff/test-PR18791-report0.txt: New test
output reference.
* tests/data/Makefile.am: Add the new test material to the source
distribution.
* tests/test-abidiff.cc (specs): Add the new test inputs to the set of
input files this test harness has to run over.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-reader.cc
tests/data/Makefile.am
tests/data/test-abidiff/test-PR18791-report0.txt [new file with mode: 0644]
tests/data/test-abidiff/test-PR18791-v0.so.abi [new file with mode: 0644]
tests/data/test-abidiff/test-PR18791-v1.so.abi [new file with mode: 0644]
tests/test-abidiff.cc
This page took 0.033176 seconds and 5 git commands to generate.