summaryrefslogtreecommitdiffstats
path: root/testsuite/systemtap.base/inlinedvars.c
diff options
context:
space:
mode:
authorMark Wielaard <mjw@redhat.com>2009-08-18 21:54:54 +0200
committerMark Wielaard <mjw@redhat.com>2009-08-18 22:05:29 +0200
commit7bce6f87482ece5b55db98b589666a2adac9cd1f (patch)
tree7c14710c5590ad9d727c894f6ccb4e8a1f48a4ab /testsuite/systemtap.base/inlinedvars.c
parenta2e0408065b872f8afac3364f218d9ebf9447dd1 (diff)
downloadsystemtap-steved-7bce6f87482ece5b55db98b589666a2adac9cd1f.tar.gz
systemtap-steved-7bce6f87482ece5b55db98b589666a2adac9cd1f.tar.xz
systemtap-steved-7bce6f87482ece5b55db98b589666a2adac9cd1f.zip
PR10533 inlined vars are not always found (dwflpp).
dwflpp::find_variable_and_frame_base switched too early to "pyshical view" of die tree. We need to lookup the var in the "syntactical view" of the die tree first. Then when we see a DW_TAG_inlined_subroutine while walking the syntactical die tree as returned by dwarf_getscopes for a given variable to retrieve the frame base, then we need to switch to walking the physical die tree where the subroutine is inlined. * dwflpp.cxx (find_variable_and_frame_base): Don't immediately go to die_scopes, but lookup var first based on pc. Then switch "die branches" when searching for frame base and a DW_TAG_inlined_subroutine is encountered.
Diffstat (limited to 'testsuite/systemtap.base/inlinedvars.c')
0 files changed, 0 insertions, 0 deletions