diff options
author | dsmith <dsmith> | 2006-11-29 19:19:36 +0000 |
---|---|---|
committer | dsmith <dsmith> | 2006-11-29 19:19:36 +0000 |
commit | 8c8199218f27704ae26be7ad2ad4e34f95f5221c (patch) | |
tree | 4b0a93324e364facf55093b1f1bf77e945c0e8dc /main.cxx | |
parent | e68fe961f5296e579245a9d30a8b1bc57ca2801d (diff) | |
download | systemtap-steved-8c8199218f27704ae26be7ad2ad4e34f95f5221c.tar.gz systemtap-steved-8c8199218f27704ae26be7ad2ad4e34f95f5221c.tar.xz systemtap-steved-8c8199218f27704ae26be7ad2ad4e34f95f5221c.zip |
2006-11-29 David Smith <dsmith@redhat.com>
* tapsets.cxx (struct dwarf_var_expanding_copy_visitor): Added
'add_block' member variable. Constructor sets it to NULL.
(dwarf_var_expanding_copy_visitor::visit_target_symbol): Fixes the
problem of accessing a cached target variable in a loop. Cached
target variable is assigned to a temporary variable, which can be
safely access multiple times. In addition, the cached value is
deleted after being read.
(dwarf_derived_probe::dwarf_derived_probe): Adds in the new block
of code created in visit_target_symbol() to the beginning of the
derived probe.
Diffstat (limited to 'main.cxx')
0 files changed, 0 insertions, 0 deletions