From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 10581 invoked by alias); 28 Jul 2010 11:41:29 -0000 Received: (qmail 10506 invoked by uid 48); 28 Jul 2010 11:41:07 -0000 Date: Wed, 28 Jul 2010 11:41:00 -0000 Message-ID: <20100728114107.10505.qmail@sourceware.org> X-Bugzilla-Reason: CC References: Subject: [Bug c++/43912] lambda debug info does not describe captured variables In-Reply-To: Reply-To: gcc-bugzilla@gcc.gnu.org To: gcc-bugs@gcc.gnu.org From: "jakub at gcc dot gnu dot org" Mailing-List: contact gcc-bugs-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-bugs-owner@gcc.gnu.org X-SW-Source: 2010-07/txt/msg03074.txt.bz2 ------- Comment #2 from jakub at gcc dot gnu dot org 2010-07-28 11:41 ------- Created an attachment (id=21334) --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=21334&action=view) gcc46-pr43912.patch Untested proof of concept patch (which handles just non-templates though). The captured vars can be printed fine in the debugger, though no testing of more complicated captures (like arrays etc.) has been done. Not sure how to handle the template case though, so not working on this anymore. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=43912