[llvm-commits] [llvm] r81044 - /llvm/trunk/lib/Analysis/ProfileVerifierPass.cpp

Bill Wendling wendling at apple.com
Tue Sep 8 11:48:58 PDT 2009


On Sep 4, 2009, at 2:22 PM, Andreas Neustifter wrote:

> Author: astifter
> Date: Fri Sep  4 16:22:04 2009
> New Revision: 81044
>
> URL: http://llvm.org/viewvc/llvm-project?rev=81044&view=rev
> Log:
> Prevent warnings on compilers for which its not clear that assert  
> won't return.
>
> Modified:
>    llvm/trunk/lib/Analysis/ProfileVerifierPass.cpp
>
> Modified: llvm/trunk/lib/Analysis/ProfileVerifierPass.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Analysis/ProfileVerifierPass.cpp?rev=81044&r1=81043&r2=81044&view=diff
>
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> = 
> ======================================================================
> --- llvm/trunk/lib/Analysis/ProfileVerifierPass.cpp (original)
> +++ llvm/trunk/lib/Analysis/ProfileVerifierPass.cpp Fri Sep  4  
> 16:22:04 2009
> @@ -167,6 +167,7 @@
>       return 0;
>     } else {
>       assert(0 && Message);

Will this assert print out the contents of Message or just "assert(0  
&& Message)" when it's triggered?

-bw




More information about the llvm-commits mailing list