libdw: Search skeleton DIE for split compile unit DIE attributes.
authorMark Wielaard <mark@klomp.org>
Mon, 14 May 2018 21:58:25 +0000 (23:58 +0200)
committerMark Wielaard <mark@klomp.org>
Sun, 20 May 2018 08:38:17 +0000 (10:38 +0200)
commit3d4998a9edd9f88b46662b3584de89ecd8f2f4c8
tree1e162090152f5af68e78dc5fe42ee4d590aa6a47
parent38ab84547a045386cc056422d37a7a7582c8afb9
libdw: Search skeleton DIE for split compile unit DIE attributes.

dwarf_attr_integrate and dwarf_hasattr_integrate should also search
for attributes from the skeleton DIE in case the given DIE is a split
compile unit DIE. Split compile unit DIEs inherit various attributes
from their skeleton unit DIE in DWARF5.

Signed-off-by: Mark Wielaard <mark@klomp.org>
libdw/ChangeLog
libdw/dwarf_attr_integrate.c
libdw/dwarf_hasattr_integrate.c
libdw/libdwP.h
tests/ChangeLog
tests/Makefile.am
tests/attr-integrate-skel.c [new file with mode: 0644]
tests/run-attr-integrate-skel.sh [new file with mode: 0755]