From fad8ff3134d32996a6ce6beba7ee70d5e1c51d8b Mon Sep 17 00:00:00 2001 From: Keno Fischer Date: Wed, 13 Jan 2016 01:26:57 +0000 Subject: [PATCH] Use utostr rather than std::to_string Looks like std::to_string is not available for Android. Hopefully this fixes the bot. git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@257558 91177308-0d34-0410-b5e6-96231b3b80d8 --- lib/IR/Verifier.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/lib/IR/Verifier.cpp b/lib/IR/Verifier.cpp index 277167f538e..1557ca0dbb7 100644 --- a/lib/IR/Verifier.cpp +++ b/lib/IR/Verifier.cpp @@ -4155,9 +4155,9 @@ void Verifier::verifyDIExpression(const DbgInfoIntrinsic &I, // argument. Doing this in the general case would require looking through // any dereferences that may be in the expression. Assert(ArgumentTypeSizeInBits == VarSize, - "size of passed value (" + std::to_string(ArgumentTypeSizeInBits) + + "size of passed value (" + utostr(ArgumentTypeSizeInBits) + ") does not match size of declared variable (" + - std::to_string(VarSize) + ")", + utostr(VarSize) + ")", &I, Arg, V, V->getType(), E); } else if (E->getElement(0) == dwarf::DW_OP_deref) { Assert(ArgumentTypeSizeInBits == M->getDataLayout().getPointerSizeInBits(), -- 2.34.1