diff options
Diffstat (limited to 'llvm/lib/IR/Verifier.cpp')
-rw-r--r-- | llvm/lib/IR/Verifier.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/lib/IR/Verifier.cpp b/llvm/lib/IR/Verifier.cpp index a1b53272784..c3bc733bac1 100644 --- a/llvm/lib/IR/Verifier.cpp +++ b/llvm/lib/IR/Verifier.cpp @@ -1666,7 +1666,7 @@ void Verifier::verifyParameterAttrs(AttributeSet Attrs, Type *Ty, if (Attrs.hasAttribute(Attribute::ByVal) && Attrs.getByValType()) { Assert(Attrs.getByValType() == cast<PointerType>(Ty)->getElementType(), - "Attribute 'byval' type does not match parameter!"); + "Attribute 'byval' type does not match parameter!", V); } AttrBuilder IncompatibleAttrs = AttributeFuncs::typeIncompatible(Ty); |