<div dir="ltr">Chould this be Twine(VarSize) instead of utostr since the Assert function can take a Twine? Otherwise this is string concatenation before the call.</div><div class="gmail_extra"><br><div class="gmail_quote">On Tue, Jan 12, 2016 at 5:26 PM, Keno Fischer 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: kfischer<br>
Date: Tue Jan 12 19:26:57 2016<br>
New Revision: 257558<br>
<br>
URL: <a href="http://llvm.org/viewvc/llvm-project?rev=257558&view=rev" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project?rev=257558&view=rev</a><br>
Log:<br>
Use utostr rather than std::to_string<br>
<br>
Looks like std::to_string is not available for Android. Hopefully<br>
this fixes the bot.<br>
<br>
Modified:<br>
    llvm/trunk/lib/IR/Verifier.cpp<br>
<br>
Modified: llvm/trunk/lib/IR/Verifier.cpp<br>
URL: <a href="http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Verifier.cpp?rev=257558&r1=257557&r2=257558&view=diff" rel="noreferrer" target="_blank">http://llvm.org/viewvc/llvm-project/llvm/trunk/lib/IR/Verifier.cpp?rev=257558&r1=257557&r2=257558&view=diff</a><br>
==============================================================================<br>
--- llvm/trunk/lib/IR/Verifier.cpp (original)<br>
+++ llvm/trunk/lib/IR/Verifier.cpp Tue Jan 12 19:26:57 2016<br>
@@ -4155,9 +4155,9 @@ void Verifier::verifyDIExpression(const<br>
     // argument. Doing this in the general case would require looking through<br>
     // any dereferences that may be in the expression.<br>
     Assert(ArgumentTypeSizeInBits == VarSize,<br>
-           "size of passed value (" + std::to_string(ArgumentTypeSizeInBits) +<br>
+           "size of passed value (" + utostr(ArgumentTypeSizeInBits) +<br>
                ") does not match size of declared variable (" +<br>
-               std::to_string(VarSize) + ")",<br>
+               utostr(VarSize) + ")",<br>
            &I, Arg, V, V->getType(), E);<br>
   } else if (E->getElement(0) == dwarf::DW_OP_deref) {<br>
     Assert(ArgumentTypeSizeInBits == M->getDataLayout().getPointerSizeInBits(),<br>
<br>
<br>
_______________________________________________<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/mailman/listinfo/llvm-commits</a><br>
</blockquote></div><br><br clear="all"><div><br></div>-- <br><div class="gmail_signature">~Craig</div>
</div>