[Bug debug/37410] DW_TAG_imported_module is not in its DW_TAG_lexical_block

dodji at gcc dot gnu dot org gcc-bugzilla@gcc.gnu.org
Tue Sep 23 13:09:00 GMT 2008



------- 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



More information about the Gcc-bugs mailing list