Displaying 1 result from an estimated 1 matches for "initializedominatortreepass".
2014 Jan 16
3
[LLVMdev] Do all user-written passes have to be run through a PassManager object (called from outside the LLVM infrastructure)?
...g method 2:
LLVM/llvm-3.3.src/include/llvm/PassAnalysisSupport.h:200: AnalysisType& llvm::Pass::getAnalysis() const [with AnalysisType = llvm::DominatorTree]: Assertion `Resolver && "Pass has not been inserted into a PassManager object!"' failed.
Note: I have added "initializeDominatorTreePass(*PassRegistry::getPassRegistry());"
to the constructor of my own pass;