[llvm-commits] Fwd: [llvm-gcc-4.2] r135505 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp

Devang Patel dpatel at apple.com
Tue Jul 19 12:45:04 PDT 2011


Dragon-egg developers,

Please apply this patch to dragon-egg also. This is required to match corresponding change in llvm.
Thanks!
-
Devang

Begin forwarded message:

> From: Devang Patel <dpatel at apple.com>
> Subject: [llvm-commits] [llvm-gcc-4.2] r135505 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
> Date: July 19, 2011 12:42:14 PM PDT
> To: llvm-commits at cs.uiuc.edu
> 
> Author: dpatel
> Date: Tue Jul 19 14:42:14 2011
> New Revision: 135505
> 
> URL: http://llvm.org/viewvc/llvm-project?rev=135505&view=rev
> Log:
> Update DebugFactory to match r135504.
> 
> Modified:
>    llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
> 
> Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp
> URL: http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp?rev=135505&r1=135504&r2=135505&view=diff
> ==============================================================================
> --- llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp (original)
> +++ llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp Tue Jul 19 14:42:14 2011
> @@ -1954,7 +1954,8 @@
>     F,
>     ConstantInt::get(Type::getInt32Ty(VMContext), LineNo),
>     Ty,
> -    ConstantInt::get(Type::getInt32Ty(VMContext), Flags)
> +    ConstantInt::get(Type::getInt32Ty(VMContext), Flags),
> +    Constant::getNullValue(Type::getInt32Ty(VMContext))
>   };
>   MDNode *Node = MDNode::get(VMContext, Elts);
>   if (AlwaysPreserve) {
> @@ -1991,6 +1992,8 @@
>   Elts.push_back(F);
>   Elts.push_back(ConstantInt::get(Type::getInt32Ty(VMContext), LineNo));
>   Elts.push_back(Ty);
> +  Elts.push_back(llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)));
> +  Elts.push_back(llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)));
>   Elts.append(Addr, Addr+NumAddr);
> 
>   return DIVariable(MDNode::get(VMContext, Elts));
> 
> 
> _______________________________________________
> llvm-commits mailing list
> llvm-commits at cs.uiuc.edu
> http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20110719/777731af/attachment.html>


More information about the llvm-commits mailing list