search for: x_mymodulepass

Displaying 1 result from an estimated 1 matches for "x_mymodulepass".

Did you mean: mymodulepass
2008 Mar 05
1
[LLVMdev] getAnalysis*() called on an analysis that was not " "'required' by pass!
...static char ID; // Pass identification, replacement for typeid MyModulePass(); virtual bool runOnModule(Module &M); virtual void getAnalysisUsage(AnalysisUsage &Info) const; }; extern RegisterPass<MyModulePass> X_MyModulePass; } #endif (MyModulePass.cpp) #include <iostream> #include "MyModulePass.h" #include "llvm/Module.h" #include "llvm/Function.h" #include "llvm/BasicBlock.h" #include "llvm/Analysis/Dominators.h" #include "llvm/Analysis/AliasAnalysis.h&qu...