Displaying 1 result from an estimated 1 matches for "type10".
Did you mean:
type1
2004 Jul 01
1
[LLVMdev] Add assert in llvm::StroreInst::init and llvm::LoadInst::init
...getTypeID()==llvm::Type::PointerTyID && "var
side isn't pointer type");
llvm::StoreInst* lStore = new llvm::StoreInst(val,var,bb);
For val with type T* and var with type T** error catched in verifier:
Stored value type does not match pointer operand type!
store "Type10::Class1"** %result, "Type10::Class1"* %1
"Type10::Class1"Broken module found, compilation aborted!
But if val type isn't pointer type error catched only deep in verifier code
with non helpful message:
Assertion failed: (isa<X>(Val) && "cast<Ty&...