This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug c++/43912] lambda debug info does not describe captured variables
- From: "jakub at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 28 Jul 2010 11:41:07 -0000
- Subject: [Bug c++/43912] lambda debug info does not describe captured variables
- References: <bug-43912-360@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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