<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Applied in r119721.  Thanks!<div><br></div><div>--Owen</div><div><br><div><div>On Nov 13, 2010, at 3:01 PM, Peter Collingbourne wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div>Hi,<br><br>During static deinitialization, it is possible for AttributesLists to<br>be destroyed before GlobalContext.  This will cause the AttrListPtrs<br>held by Function and various Instruction subclasses to be invalidated.<br>Later when GlobalContext is destroyed the AttributesListImpls referred<br>to by the AttrListPtrs will be deleted, causing memory errors.<br>This patch causes AttributesListImpl to skip deinitialization via<br>DropRef if AttributesLists has been destroyed.<br><br>OK to commit?<br><br>Thanks,<br>-- <br>Peter<br><span><0001-Do-not-attempt-to-destroy-AttributesListImpl-if-alre.patch></span>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br></div></blockquote></div><br></div></body></html>