summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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