Use utostr rather than std::to_string

Looks like std::to_string is not available for Android. Hopefully
this fixes the bot.

llvm-svn: 257558
This commit is contained in:
Keno Fischer 2016-01-13 01:26:57 +00:00
parent 388579fab7
commit e7a4e5613e
1 changed files with 2 additions and 2 deletions

View File

@ -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(),