[LLVMdev] PassManager error message hard to decipher

Chris Lattner sabre at nondot.org
Mon Dec 2 00:39:01 PST 2002


> Here is the situation.  We have 5 passes, RegisterAllocator,
> FunctionLiveVarInfo, CoalesceCopies, DominanceForest, and UnionSSAVars,
> with dependencies as follows:

Wow, that is a crazy set of interdependences, I'm impressed :)

> class RegisterAllocator : public FunctionPass {
>   virtual void getAnalysisUsage(AnalysisUsage &AU) const {
> class FunctionLiveVarInfo : public FunctionPass {
>   virtual void getAnalysisUsage(AnalysisUsage &AU) const {

These are ok...

> class CoalesceCopies : public FunctionPass {
>   virtual void getAnalysisUsage(AnalysisUsage &AU) {
> class UnionSSAVars : public FunctionPass {
>   virtual void getAnalysisUsage(AnalysisUsage &AU) {
> class DominanceForest : public FunctionPass {
>   virtual void getAnalysisUsage(AnalysisUsage &AU) {

These are not: notice the methods aren't const.  Let me know whether or
not this fixes the problem, you probably have the most complex web of
interdependences yet :)

-Chris

-- 
http://llvm.cs.uiuc.edu/
http://www.nondot.org/~sabre/Projects/




More information about the llvm-dev mailing list