summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorKeno Fischer <kfischer@college.harvard.edu>2016-01-13 01:26:57 +0000
committerKeno Fischer <kfischer@college.harvard.edu>2016-01-13 01:26:57 +0000
commite7a4e5613e3662dc98c52c7cd3441fdd59e50eb2 (patch)
tree37050a89900d4e241d89649a1c9555221e8a9b1a
parent388579fab76dd7093066d49e0376f652101a4e62 (diff)
downloadbcm5719-llvm-e7a4e5613e3662dc98c52c7cd3441fdd59e50eb2.tar.gz
bcm5719-llvm-e7a4e5613e3662dc98c52c7cd3441fdd59e50eb2.zip
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
-rw-r--r--llvm/lib/IR/Verifier.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp
index 277167f538e..1557ca0dbb7 100644
--- a/llvm/lib/IR/Verifier.cpp
+++ b/llvm/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(),
OpenPOWER on IntegriCloud