[LLVMdev] [Fwd: Error while running my pass with opt]

Tobias Grosser grosser at fim.uni-passau.de
Sat May 8 06:37:16 PDT 2010


Hi,

you need something like this in your pass:

void YourPass::getAnalysisUsage(AnalysisUsage &AU) const {
   AU.addRequired<DominatorTree>();
}

because you need to specify which analysis you are using.

Tobi



More information about the llvm-dev mailing list