summaryrefslogtreecommitdiffstats
path: root/main.cxx
diff options
context:
space:
mode:
authordsmith <dsmith>2006-11-29 19:19:36 +0000
committerdsmith <dsmith>2006-11-29 19:19:36 +0000
commit8c8199218f27704ae26be7ad2ad4e34f95f5221c (patch)
tree4b0a93324e364facf55093b1f1bf77e945c0e8dc /main.cxx
parente68fe961f5296e579245a9d30a8b1bc57ca2801d (diff)
downloadsystemtap-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