<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.</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);"><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);"><b>Date: </b></span><span style="font-family:'Helvetica'; font-size:medium;">August 16, 2011 2:03:27 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);"><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><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);"><b>Subject: </b></span><span style="font-family:'Helvetica'; font-size:medium;"><b>[llvm-commits] [llvm-gcc-4.2] r137753 - /llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp</b><br></span></div><br><div>Author: dpatel<br>Date: Tue Aug 16 16:03:26 2011<br>New Revision: 137753<br><br>URL: <a href="http://llvm.org/viewvc/llvm-project?rev=137753&view=rev">http://llvm.org/viewvc/llvm-project?rev=137753&view=rev</a><br>Log:<br>DIBuilder is moving forward to reduce in memory use by MDNodes. However, DIFactory does not emit debug info in updated form.<br>Use LLVMDebugVersion10 directly here so that debug info nodes produced by DIFactory do not claim to adhere newer structure.<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=137753&r1=137752&r2=137753&view=diff">http://llvm.org/viewvc/llvm-project/llvm-gcc-4.2/trunk/gcc/llvm-debug.cpp?rev=137753&r1=137752&r2=137753&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 Aug 16 16:03:26 2011<br>@@ -1474,7 +1474,10 @@<br> Constant *DIFactory::GetTagConstant(unsigned TAG) {<br>   assert((TAG & LLVMDebugVersionMask) == 0 &&<br>          "Tag too large for debug encoding!");<br>-  return ConstantInt::get(Type::getInt32Ty(VMContext), TAG | LLVMDebugVersion);<br>+  // llvm has moved forward. DIFactory does not emit debug info in updated form.<br>+  // Use LLVMDebugVersion10 directly here.<br>+  return ConstantInt::get(Type::getInt32Ty(VMContext), <br>+                          TAG | LLVMDebugVersion10);<br> }<br><br> //===----------------------------------------------------------------------===//<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>