<html><head></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space; ">Dragon-egg developers,<div><br></div><div>Please apply this patch to dragon-egg also. This is required to match corresponding change in llvm.</div><div>Thanks!</div><div>-</div><div>Devang<br><div><br><div>Begin forwarded message:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>From: </b></span><span style="font-family:'Helvetica'; font-size:medium;">Devang Patel <<a href="mailto:dpatel@apple.com">dpatel@apple.com</a>><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>[llvm-commits] [llvm-gcc-4.2] r135505 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp</b><br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">July 19, 2011 12:42:14 PM PDT<br></span></div><div style="margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px;"><span style="font-family:'Helvetica'; font-size:medium; color:rgba(0, 0, 0, 1.0);"><b>To: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br></span></div><br><div>Author: dpatel<br>Date: Tue Jul 19 14:42:14 2011<br>New Revision: 135505<br><br>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=135505&view=rev">http://llvm.org/viewvc/llvm-project?rev=135505&view=rev</a><br>Log:<br>Update DebugFactory to match r135504.<br><br>Modified:<br> llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp<br><br>Modified: llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp<br>URL: <a href="http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp?rev=135505&r1=135504&r2=135505&view=diff">http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp?rev=135505&r1=135504&r2=135505&view=diff</a><br>==============================================================================<br>--- llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp (original)<br>+++ llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp Tue Jul 19 14:42:14 2011<br>@@ -1954,7 +1954,8 @@<br> F,<br> ConstantInt::get(Type::getInt32Ty(VMContext), LineNo),<br> Ty,<br>- ConstantInt::get(Type::getInt32Ty(VMContext), Flags)<br>+ ConstantInt::get(Type::getInt32Ty(VMContext), Flags),<br>+ Constant::getNullValue(Type::getInt32Ty(VMContext))<br> };<br> MDNode *Node = MDNode::get(VMContext, Elts);<br> if (AlwaysPreserve) {<br>@@ -1991,6 +1992,8 @@<br> Elts.push_back(F);<br> Elts.push_back(ConstantInt::get(Type::getInt32Ty(VMContext), LineNo));<br> Elts.push_back(Ty);<br>+ Elts.push_back(llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)));<br>+ Elts.push_back(llvm::Constant::getNullValue(Type::getInt32Ty(VMContext)));<br> Elts.append(Addr, Addr+NumAddr);<br><br> return DIVariable(MDNode::get(VMContext, Elts));<br><br><br>_______________________________________________<br>llvm-commits mailing list<br><a href="mailto:llvm-commits@cs.uiuc.edu">llvm-commits@cs.uiuc.edu</a><br>http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits<br></div></blockquote></div><br></div></body></html>