This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug debug/37410] DW_TAG_imported_module is not in its DW_TAG_lexical_block
- From: "dodji at gcc dot gnu dot org" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 23 Sep 2008 13:08:32 -0000
- Subject: [Bug debug/37410] DW_TAG_imported_module is not in its DW_TAG_lexical_block
- References: <bug-37410-12292@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- Comment #3 from dodji at gcc dot gnu dot org 2008-09-23 13:08 -------
(From update of attachment 16393)
The idea of the patch is to add an IMPORTED_DECL node to the lexical BLOCK
enclosing the "using directive".This is done at gimplification time.
Then the patch modifies dwarf2out.c to recognize the new IMPORTED_DECL node and
generate the DW_TAG_imported_module dwarf tag accordingly.
--
http://gcc.gnu.org/bugzilla/show_bug.cgi?id=37410