Displaying 1 result from an estimated 1 matches for "ptr_addrar".
2008 Jan 14
1
[LLVMdev] Opaque type
...nter of Opaque type, because I don't know yet the array size!
OpaqueType* ot = OpaqueType::get();
AllocaInst* ptr_addrOP = new AllocaInst(ot, "ai_addr", label_entry);
//I create pointer of Array type when it is initialized
ArrayType* art = ArrayType::get(Type::IntTy, 1);
AllocaInst* ptr_addrAr = new AllocaInst(art, "ai_addr", label_entry);
//I try to make concrete the abstract pointer
((PointerType*)ptr_addrOP -> getType()) ->
typeBecameConcrete(ptr_addrAr-> getType());
But "ptr_addrOP" type is still abstract and nothing changed, in the
SymbolTable ther...