From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 21023 invoked by alias); 24 Jan 2006 17:58:04 -0000 Received: (qmail 21005 invoked by uid 426); 24 Jan 2006 17:58:03 -0000 Date: Tue, 24 Jan 2006 17:58:00 -0000 Message-ID: <20060124175803.21003.qmail@sourceware.org> From: fche@sourceware.org To: systemtap-cvs@sources.redhat.com Subject: src ./ChangeLog ./buildrun.cxx ./elaborate.cxx ... Mailing-List: contact systemtap-cvs-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Post: List-Help: , Sender: systemtap-cvs-owner@sourceware.org List-Archive: X-SW-Source: 2006-q1/txt/msg00056.txt.bz2 List-Id: CVSROOT: /cvs/systemtap Module name: src Changes by: fche@sourceware.org 2006-01-24 17:58:03 Modified files: . : ChangeLog buildrun.cxx elaborate.cxx main.cxx parse.cxx session.h stap.1.in stapfuncs.5.in staptree.cxx staptree.h tapsets.cxx translate.cxx tapset : logging.stp testsuite/semko: eleven.stp thirty.stp thirtyone.stp twenty.stp twentyfive.stp twentyfour.stp twentynine.stp twentyseven.stp twentysix.stp testsuite/transko: one.stp testsuite/transok: five.stp Added files: testsuite/semok: optimize.stp Log message: 2006-01-24 Frank Ch. Eigler PR 2060 etc. * tapsets.cxx (visit_target_symbol): Tolerate failed resolution by letting target_symbol instance pass through to optimizer and type checker. * elaborate.cxx (semantic_pass_optimize): New family of functions and associated visitor classes. (visit_for_loop): Tolerate absent init/incr clauses. (semantic_pass): Invoke unless unoptimized (-u) option given. * main.cxx, session.h: Add support for flag. * staptree.cxx (visit_for_loop): Tolerate absent init/incr clauses. (traversing_visitor::visit_arrayindex): Visit the index expressions. (functioncall_traversing_visitor): New class. (varuse_tracking_visitor): New class. * staptree.h: Corresponding changes. * parse.cxx (parse_for_loop): Represent absent init/incr expressions with null statement pointer instead of optimized-out dummy numbers. * stap.1.in: Document optimization. * testsuite/{semko,transko}/*.stp: Added "-u" or other code to many tests to check bad code without optimizer elision. * testsuite/semok/optimize.stp: New test. * elaborate.cxx (unresolved, invalid, mismatch): Standardize error message wording. * stapfuncs.5.in: Tweak print/printf docs. * tapset/logging.stp: Remove redundant "print" auxiliary function, since it's a translator built-in. * testsuite/transok/five.stp: Extend test. * translate.cxx (emit_symbol_data): Put symbol table into a separate temporary header file, to make "-p3" output easier on the eyes. * buildrun.cxx (compile_pass): Eliminate test-mode support throughout. * main.cxx, session.h, translate.cxx: Ditto. * main.cxx (main): For last-pass=2 runs, print post-optimization ASTs. Patches: http://sourceware.org/cgi-bin/cvsweb.cgi/src/ChangeLog.diff?cvsroot=systemtap&r1=1.303&r2=1.304 http://sourceware.org/cgi-bin/cvsweb.cgi/src/buildrun.cxx.diff?cvsroot=systemtap&r1=1.15&r2=1.16 http://sourceware.org/cgi-bin/cvsweb.cgi/src/elaborate.cxx.diff?cvsroot=systemtap&r1=1.44&r2=1.45 http://sourceware.org/cgi-bin/cvsweb.cgi/src/main.cxx.diff?cvsroot=systemtap&r1=1.34&r2=1.35 http://sourceware.org/cgi-bin/cvsweb.cgi/src/parse.cxx.diff?cvsroot=systemtap&r1=1.38&r2=1.39 http://sourceware.org/cgi-bin/cvsweb.cgi/src/session.h.diff?cvsroot=systemtap&r1=1.3&r2=1.4 http://sourceware.org/cgi-bin/cvsweb.cgi/src/stap.1.in.diff?cvsroot=systemtap&r1=1.26&r2=1.27 http://sourceware.org/cgi-bin/cvsweb.cgi/src/stapfuncs.5.in.diff?cvsroot=systemtap&r1=1.13&r2=1.14 http://sourceware.org/cgi-bin/cvsweb.cgi/src/staptree.cxx.diff?cvsroot=systemtap&r1=1.39&r2=1.40 http://sourceware.org/cgi-bin/cvsweb.cgi/src/staptree.h.diff?cvsroot=systemtap&r1=1.33&r2=1.34 http://sourceware.org/cgi-bin/cvsweb.cgi/src/tapsets.cxx.diff?cvsroot=systemtap&r1=1.104&r2=1.105 http://sourceware.org/cgi-bin/cvsweb.cgi/src/translate.cxx.diff?cvsroot=systemtap&r1=1.98&r2=1.99 http://sourceware.org/cgi-bin/cvsweb.cgi/src/tapset/logging.stp.diff?cvsroot=systemtap&r1=1.10&r2=1.11 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/eleven.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/thirty.stp.diff?cvsroot=systemtap&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/thirtyone.stp.diff?cvsroot=systemtap&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/twenty.stp.diff?cvsroot=systemtap&r1=1.1&r2=1.2 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentyfive.stp.diff?cvsroot=systemtap&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentyfour.stp.diff?cvsroot=systemtap&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentynine.stp.diff?cvsroot=systemtap&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentyseven.stp.diff?cvsroot=systemtap&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semko/twentysix.stp.diff?cvsroot=systemtap&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/semok/optimize.stp.diff?cvsroot=systemtap&r1=NONE&r2=1.1 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/transko/one.stp.diff?cvsroot=systemtap&r1=1.2&r2=1.3 http://sourceware.org/cgi-bin/cvsweb.cgi/src/testsuite/transok/five.stp.diff?cvsroot=systemtap&r1=1.3&r2=1.4