Skip to content

Commit

Permalink
Use utostr rather than std::to_string
Browse files Browse the repository at this point in the history
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
  • Loading branch information
Keno committed Jan 13, 2016
1 parent 94d0a91 commit fad8ff3
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/IR/Verifier.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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(),
Expand Down

0 comments on commit fad8ff3

Please sign in to comment.