[patch][pr22293] Don't crash during codegen of a recursive destructor
Rafael EspĂndola
rafael.espindola at gmail.com
Thu Jan 22 18:45:27 PST 2015
In ItaniumCXXABI::EmitCXXDestructors we first emit the base destructor
and then try to emit the complete one as an alias.
If in the base ends up calling the complete destructor, the GD for the
complete will be in the list of deferred decl by the time we replace
it with an alias and delete the original GV.
Cheers,
Rafael
-------------- next part --------------
A non-text attachment was scrubbed...
Name: t.patch
Type: text/x-patch
Size: 1223 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20150122/e1429584/attachment.bin>
More information about the cfe-commits
mailing list