]> sourceware.org Git - systemtap.git/commit - tapsets.cxx
PR11326: Make an early check for saved-return-$var validity
authorJosh Stone <jistone@redhat.com>
Thu, 25 Feb 2010 23:15:19 +0000 (15:15 -0800)
committerJosh Stone <jistone@redhat.com>
Thu, 25 Feb 2010 23:26:32 +0000 (15:26 -0800)
commit70208613b8f9f2584aee89197705f3fddae6a0e4
treebd570eab4ee62b5e6d15e8118e40d263160a54bd
parent38975255091d0c6bc33ae3c6907bb7886b70598d
PR11326: Make an early check for saved-return-$var validity

We now check validity *before* the entry-probe is generated, so invalid
$vars have a chance to be properly optimized without error.

* tapsets.cxx
  (dwarf_var_expanding_visitor::visit_target_symbol_saved_return):
  Attempt variable expansion immediately, and skip out on failure.
* testsuite/semok/thirtysix.stp: unblock the previously broken part.
tapsets.cxx
testsuite/semok/thirtysix.stp
This page took 0.044584 seconds and 5 git commands to generate.