<div dir="ltr">+Bob & Adrian who particularly care about this<br><br>I think the general consensus was to just bump the version number for each LLVM release (or private release - when any developer has one for which they need this).<br>
<br>So I think we essentially want to flag the tree as "we've broken compatibility" and whoever hits a release first (internal or LLVM official) should bump the version at that point and then the tree is "unbroken". Rather than bumping it for every change.<br>
<br>We don't want to do this more often than necessary because it involves updating /all/ the debug info test cases.</div><div class="gmail_extra"><br><br><div class="gmail_quote">On Mon, Feb 10, 2014 at 2:26 PM, Eric Christopher <span dir="ltr"><<a href="mailto:echristo@gmail.com" target="_blank">echristo@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Might want to increase the debug version number because of this.<br>
Previously working code will start asserting/crashing (see PR18790).<br>
<span class="HOEnZb"><font color="#888888"><br>
-eric<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
On Mon, Feb 3, 2014 at 3:08 PM, David Blaikie <<a href="mailto:dblaikie@gmail.com">dblaikie@gmail.com</a>> wrote:<br>
> Author: dblaikie<br>
> Date: Mon Feb 3 17:08:54 2014<br>
> New Revision: 200721<br>
><br>
> URL: <a href="http://llvm.org/viewvc/llvm-project?rev=200721&view=rev" target="_blank">http://llvm.org/viewvc/llvm-project?rev=200721&view=rev</a><br>
> Log:<br>
> DIBuilder: simplify array generation to produce true zero-length arrays<br>
><br>
> For some anachronistic reason we were producing {i32 0} for zero-length<br>
> debug info arrays.<br>
><br>
> (this change is paired with a Clang change and may cause temporary<br>
> buildbot noise)<br>
><br>
> Let's not.<br>
><br>
> Modified:<br>
> llvm/trunk/lib/IR/DIBuilder.cpp<br>
><br>
> Modified: llvm/trunk/lib/IR/DIBuilder.cpp<br>
> URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/DIBuilder.cpp?rev=200721&r1=200720&r2=200721&view=diff" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/DIBuilder.cpp?rev=200721&r1=200720&r2=200721&view=diff</a><br>
> ==============================================================================<br>
> --- llvm/trunk/lib/IR/DIBuilder.cpp (original)<br>
> +++ llvm/trunk/lib/IR/DIBuilder.cpp Mon Feb 3 17:08:54 2014<br>
> @@ -902,10 +902,6 @@ DIBuilder::createForwardDecl(unsigned Ta<br>
><br>
> /// getOrCreateArray - Get a DIArray, create one if required.<br>
> DIArray DIBuilder::getOrCreateArray(ArrayRef<Value *> Elements) {<br>
> - if (Elements.empty()) {<br>
> - Value *Null = Constant::getNullValue(Type::getInt32Ty(VMContext));<br>
> - return DIArray(MDNode::get(VMContext, Null));<br>
> - }<br>
> return DIArray(MDNode::get(VMContext, Elements));<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>
> <a href="http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits" target="_blank">http://lists.cs.uiuc.edu/mailman/listinfo/llvm-commits</a><br>
</div></div></blockquote></div><br></div>