mirror of
https://github.com/RPCS3/llvm-mirror.git
synced 2025-03-07 11:59:09 +00:00
Dump what value failed byval attribute verification
This verifier check is failing for us while doing ThinLTO on Chrome for x86, see https://crbug.com/978218, and this helps to debug the problem. llvm-svn: 364357
This commit is contained in:
parent
965784c287
commit
7f2ade3bc4
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user