search for: poolallocategroup

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

2008 Apr 07
2
[LLVMdev] Problem Linking Analysis Group
Dear All, I'm having the following problem linking code that defines and uses an AnalysisGroup. I have an analysis group defined as follows: class PoolAllocateGroup { public: static char ID; virtual ~PoolAllocateGroup (); virtual PA::FuncInfo *getFuncInfo(Function &F); ... }; ... which is then inherited by a ModulePass: class PoolAllocate : public ModulePass , public PoolAllocateGroup { ... }; ... which is then inherited by another pass: class...
2008 Apr 07
0
[LLVMdev] Problem Linking Analysis Group
On Apr 7, 2008, at 1:54 PM, John Criswell wrote: > > /localhome/criswell/llvm22/projects/llvm-poolalloc/Debug/lib/ > libpoolalloc.so: > undefined reference to `vtable for llvm::PoolAllocateGroup' > Does anyone know what I might be doing wrong? The usual answer, you need to define all virtual functions, in particular, those in the PoolAllocateGroup hierarchy.