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

Eli Friedman eli.friedman at gmail.com
Sun May 23 13:39:16 PDT 2010


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



More information about the cfe-commits mailing list