This is the mail archive of the
systemtap-cvs@sourceware.org
mailing list for the systemtap project.
[SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.1-253-g9fab226
- From: jistone at sourceware dot org
- To: systemtap-cvs at sourceware dot org
- Date: 18 Mar 2010 22:51:02 -0000
- Subject: [SCM] systemtap: system-wide probe/trace tool branch, master, updated. release-1.1-253-g9fab226
- Reply-to: systemtap at sourceware dot org
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "systemtap: system-wide probe/trace tool".
The branch, master has been updated
via 9fab2262961c9cd1ab3efea5d362b8a6a1c0c7c3 (commit)
from 8fb91f5fe6cdcab379144f4ebddae6f72816f2c3 (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit 9fab2262961c9cd1ab3efea5d362b8a6a1c0c7c3
Author: Josh Stone <jistone@redhat.com>
Date: Thu Mar 18 15:39:42 2010 -0700
PR11346: Move the skip-badvars logic into const-folding
The const_folder is where we prune constant expressions, like
conditionals based on a @defined($foo), so we want to give this a chance
to work before skip-badvars comes in and throws a warning.
As an added bonus, this makes skip-badvars more generic, so it will work
even for non-dwarf $target variables.
* elaborate.cxx (const_folder::visit_target_symbol): Enact skip-badvars.
* tapsets.cxx (dwarf_var_expanding_visitor::visit_target_symbol): Don't
worry about badvars here anymore. Save the error now, clean up later.
* testsuite/semok/badvar_undefined.stp: Test that @defined with
skip-badvars doesn't throw any warnings.
-----------------------------------------------------------------------
Summary of changes:
elaborate.cxx | 24 ++++++++++++++++++++
tapsets.cxx | 39 +++++++++------------------------
testsuite/semok/badvar_undefined.stp | 7 ++++++
3 files changed, 42 insertions(+), 28 deletions(-)
create mode 100755 testsuite/semok/badvar_undefined.stp
hooks/post-receive
--
systemtap: system-wide probe/trace tool