[llvm-commits] [llvm] r117615 - /llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
Chris Lattner
clattner at apple.com
Thu Oct 28 16:53:42 PDT 2010
On Oct 28, 2010, at 3:12 PM, Devang Patel wrote:
> Author: dpatel
> Date: Thu Oct 28 17:11:59 2010
> New Revision: 117615
>
> URL: http://llvm.org/viewvc/llvm-project?rev=117615&view=rev
> Log:
> Ignore empty blocks.
What does this do? Testcase?
-Chris
>
> Modified:
> llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
>
> Modified: llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp?rev=117615&r1=117614&r2=117615&view=diff
> ==============================================================================
> --- llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp (original)
> +++ llvm/trunk/lib/CodeGen/AsmPrinter/DwarfDebug.cpp Thu Oct 28 17:11:59 2010
> @@ -2790,7 +2790,7 @@
> break;
> }
> }
> - if (!FoundLineNo)
> + if (!FoundLineNo && I->size())
> ++BlocksWithoutLineNo;
> }
> }
>
>
> _______________________________________________
> 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