https://gcc.gnu.org/bugzilla/show_bug.cgi?id=39436
--- Comment #7 from Andrew Pinski <pinskia at gcc dot gnu.org> --- (In reply to Andrew Pinski from comment #6) > (In reply to Andrew Pinski from comment #5) > > for try blocks, I do need the catch blocks so do it as the siblings. > > For catch blocks, the child will be type that is being caught as a > > DW_TAG_formal_parameter/DW_TAG_unspecified_parameters . > > Note DW_TAG_unspecified_parameters is for the catch(...) case. > > I am adding this more for my usage when I am coding this up to make sure I > understand how this works. for the VAR_DECL of the catch, I think I should be able to use gen_formal_parameter_die. This means the block structure will need to grow since I need another tree here. Or maybe not. Since there seems like there are 2 BLOCKs here for the catch.