<div dir="ltr">Thanks! :-)</div><div class="gmail_extra"><br><div class="gmail_quote">On 16 September 2016 at 12:07, Davide Italiano via llvm-commits <span dir="ltr"><<a href="mailto:llvm-commits@lists.llvm.org" target="_blank">llvm-commits@lists.llvm.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Author: davide<br>
Date: Fri Sep 16 11:07:19 2016<br>
New Revision: 281742<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=281742&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project?rev=281742&view=rev</a><br>
Log:<br>
[IRObjectFile] Turn llvm_unreachable("foo") into something more explicative.<br>
<br>
Modified:<br>
    llvm/trunk/lib/Object/<wbr>IRObjectFile.cpp<br>
<br>
Modified: llvm/trunk/lib/Object/<wbr>IRObjectFile.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/Object/IRObjectFile.cpp?rev=281742&r1=281741&r2=281742&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-<wbr>project/llvm/trunk/lib/Object/<wbr>IRObjectFile.cpp?rev=281742&<wbr>r1=281741&r2=281742&view=diff</a><br>
==============================<wbr>==============================<wbr>==================<br>
--- llvm/trunk/lib/Object/<wbr>IRObjectFile.cpp (original)<br>
+++ llvm/trunk/lib/Object/<wbr>IRObjectFile.cpp Fri Sep 16 11:07:19 2016<br>
@@ -102,7 +102,7 @@ void IRObjectFile::<wbr>CollectAsmUndefinedRe<br>
     uint32_t Res = BasicSymbolRef::SF_None;<br>
     switch (Value) {<br>
     case RecordStreamer::NeverSeen:<br>
-      llvm_unreachable("foo");<br>
+      llvm_unreachable("NeverSeen should have been replaced earlier");<br>
     case RecordStreamer::DefinedGlobal:<br>
       Res |= BasicSymbolRef::SF_Global;<br>
       break;<br>
<br>
<br>
______________________________<wbr>_________________<br>
llvm-commits mailing list<br>
<a href="mailto:llvm-commits@lists.llvm.org">llvm-commits@lists.llvm.org</a><br>
<a href="http://lists.llvm.org/cgi-bin/mailman/listinfo/llvm-commits" rel="noreferrer" target="_blank">http://lists.llvm.org/cgi-bin/<wbr>mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br></div>