[llvm-commits] [llvm] r64278 - in /llvm/trunk:	lib/Transforms/Utils/BasicBlockUtils.cpp	lib/Transforms/Utils/SimplifyCFG.cpp	test/Transforms/SimplifyCFG/dbginfo.ll
    Chris Lattner 
    clattner at apple.com
       
    Tue Feb 10 21:11:23 PST 2009
    
    
  
On Feb 10, 2009, at 5:29 PM, Devang Patel wrote:
> Author: dpatel
> Date: Tue Feb 10 19:29:06 2009
> New Revision: 64278
>
> URL: http://llvm.org/viewvc/llvm-project?rev=64278&view=rev
> Log:
> If llvm.dbg.region.end is disappearing then remove corresponding  
> llvm.dbg.func.start also.
Why?  The dbg.region.end may be removed in cases where the end of  
function is unreachable, e.g.:
void foo() {
   while (1)
     whatever();
}
I still would like to step through foo.
-Chris
    
    
More information about the llvm-commits
mailing list