]> sourceware.org Git - libabigail.git/commit
dwarf-reader: properly set artificial-ness in opaque types
authorDodji Seketeli <dodji@redhat.com>
Tue, 13 Apr 2021 14:17:39 +0000 (16:17 +0200)
committerDodji Seketeli <dodji@redhat.com>
Tue, 13 Apr 2021 14:28:27 +0000 (16:28 +0200)
commitb215a2115376225b04b4d6b25acc6c5a1b4021e9
tree774daa6b5494ae84e423456c75aac64ad475c6dd
parenta16b922b11665d5405421a50d98f475cbbcbb300
dwarf-reader: properly set artificial-ness in opaque types

get_opaque_version_of_type forgets to set the "is-artificial" property
according to the initial type the opaque type is derived from.  This
can lead to some instability in the abixml output.

Fixed thus.

* src/abg-dwarf-reader.cc (get_opaque_version_of_type): Propagate
the artificial-ness of the original type here.
* tests/data/test-read-dwarf/PR27700/test-PR27700.abi: Adjust.

Signed-off-by: Dodji Seketeli <dodji@redhat.com>
src/abg-dwarf-reader.cc
tests/data/test-read-dwarf/PR27700/test-PR27700.abi
This page took 0.028888 seconds and 5 git commands to generate.