[cfe-commits] r104472 - in /cfe/trunk: lib/CodeGen/CGStmt.cpp test/CodeGenCXX/PR5863-unreachable-block.cpp

Benjamin Kramer benny.kra at googlemail.com
Sun May 23 13:59:41 PDT 2010


On 23.05.2010, at 22:39, Eli Friedman wrote:

> On Sun, May 23, 2010 at 1:00 PM, Benjamin Kramer
> <benny.kra at googlemail.com> wrote:
>> Author: d0k
>> Date: Sun May 23 15:00:44 2010
>> New Revision: 104472
>> 
>> URL: http://llvm.org/viewvc/llvm-project?rev=104472&view=rev
>> Log:
>> PR5863: Don't erase unreachable BBs which have an associated cleanup size.
>> 
>> This works around a crash where malloc reused the memory of an erased BB for a
>> new BB leaving old cleanup information pointing at the new block.
> 
> Could you put a comment to that effect into the code?
> 
> -Eli

Sure, r104473.



More information about the cfe-commits mailing list