search for: pooldescptrty

Displaying 2 results from an estimated 2 matches for "pooldescptrty".

2009 Nov 13
1
[LLVMdev] Poolalloc asserts when passing in pool descriptors
Hi, The poolalloc library fails in TransformFunctionBody.cpp, line 746 --- Value *ArgVal = ConstantAggregateZero::get(PoolAllocate::PoolDescPtrTy); --- opt -load /path_to_lib/libpoolalloc.dylib -poolalloc constaggr.bc -o opt.bc -f triggers the problem (bc file attached). Assertion failed: ((isa<StructType>(Ty) || isa<ArrayType>(Ty) || isa<VectorType>(Ty)) && "Cannot create an aggregate zero of non-aggrega...
2007 Dec 12
0
[LLVMdev] opt does not load poolalloc
...tptr_t)&ID, true) {} }; } Index: lib/PoolAllocate/PoolAllocate.cpp =================================================================== --- lib/PoolAllocate/PoolAllocate.cpp (revision 44934) +++ lib/PoolAllocate/PoolAllocate.cpp (working copy) @@ -45,6 +45,9 @@ const Type *PoolAllocate::PoolDescPtrTy = 0; +char PoolAllocate::ID = 0; +char PoolAllocatePassAllPools::ID = 0; + #if 0 #define TIME_REGION(VARNAME, DESC) \ NamedRegionTimer VARNAME(DESC) @@ -647,9 +650,9 @@ DSNode *N = I; if ( #ifdef BOUNDS_CHECK - (N->isArray() || -#endif - (N->isHeapNode())) + N->isArra...