From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28026 invoked by alias); 27 Aug 2010 01:16:45 -0000 Received: (qmail 28006 invoked by uid 22791); 27 Aug 2010 01:16:44 -0000 X-SWARE-Spam-Status: No, hits=-0.9 required=5.0 tests=AWL,BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL X-Spam-Check-By: sourceware.org Received: from n10.bullet.re3.yahoo.com (HELO n10.bullet.re3.yahoo.com) (68.142.237.123) by sourceware.org (qpsmtpd/0.43rc1) with SMTP; Fri, 27 Aug 2010 01:16:39 +0000 Received: from [68.142.237.89] by n10.bullet.re3.yahoo.com with NNFMP; 27 Aug 2010 01:16:37 -0000 Received: from [66.196.97.142] by t5.bullet.re3.yahoo.com with NNFMP; 27 Aug 2010 01:16:37 -0000 Received: from [127.0.0.1] by omp110.mail.re3.yahoo.com with NNFMP; 27 Aug 2010 01:16:37 -0000 Received: (qmail 70376 invoked by uid 60001); 27 Aug 2010 01:16:37 -0000 Message-ID: <543240.70359.qm@web88108.mail.re2.yahoo.com> Received: from [99.225.240.249] by web88108.mail.re2.yahoo.com via HTTP; Thu, 26 Aug 2010 18:16:36 PDT Date: Fri, 27 Aug 2010 08:00:00 -0000 From: Jeff Saremi Subject: Guidance needed: hi-level steps to track an object until its destruction To: gcc@gcc.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Mailing-List: contact gcc-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-owner@gcc.gnu.org X-SW-Source: 2010-08/txt/msg00385.txt.bz2 I'm hoping someone here could take the time to outline what I need to do (i'm not looking for code but if you point me to some i'd appreciate it). I'd like to track an object from the it's created until it's destroyed (in C++). And then see if a certain method of it is called or not. To keep it short we can limit this to one function at the beginning of which an object gets created and at the end of it the object goes out of scope. And i'm guessing this can be done via one a pass at the right time. I guess before gimplification or being converted to RTL and such. Any input's appreciated. thanks jeff