This is an archive of the discontinued LLVM Phabricator instance.

Fix use-after-free in ASTContext.
ClosedPublic

Authored by sammccall on Oct 26 2016, 5:46 AM.

Details

Summary

Extend lifetime of ExceptionTypeStorage, as it is referenced by
CanonicalEPI and used outside the block (ExceptionSpec.Exceptions is an ArrayRef)

Diff Detail

Repository
rL LLVM

Event Timeline

sammccall updated this revision to Diff 75860.Oct 26 2016, 5:46 AM
sammccall retitled this revision from to Fix use-after-free in ASTContext..
sammccall updated this object.
sammccall added a reviewer: bkramer.
sammccall added subscribers: cfe-commits, rsmith.
bkramer accepted this revision.Oct 26 2016, 6:00 AM
bkramer edited edge metadata.
This revision is now accepted and ready to land.Oct 26 2016, 6:00 AM
This revision was automatically updated to reflect the committed changes.