[llvm-commits] [PATCH] Crash in SplitBlock with incomplete dominator information
Evan Cheng
evan.cheng at apple.com
Tue Aug 23 17:52:57 PDT 2011
Looks fine to me. Has someone committed this?
Evan
On Aug 18, 2011, at 5:00 PM, Nick Sumner wrote:
> Hi,
>
> The attached patch fixes a crashing bug in SplitBlock when it is
> called on a block with no dominator information even though dominators
> were previously computed. This is originally from a bug report
> (http://llvm.org/bugs/show_bug.cgi?id=10643), but I am cross-posting
> to give it a record in the proper place until it can be committed.
>
> One example of a program suffering from this:
>
> #include <stdlib.h>
> #include <stdio.h>
>
> void foo() {
> exit(0);
> printf("No dominator info here\n");
> }
>
>
> thanks,
> Nick Sumner
> <fixSplitBlock.diff>_______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits
More information about the llvm-commits
mailing list