search for: voidinstrumentationpass

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

2020 Oct 02
2
Pass dependency error
Hi all, I am getting the infamous error: Assertion `ResultPass && "getAnalysis*() called on an analysis that was not " "'required' by pass!"' but i really don't understand why. I have: voidInstrumentationPass::getAnalysisUsage(llvm::AnalysisUsage&AU) const{     AU.setPreservesAll();     AU.addRequired<DetectKernelsPass>();     AU.addRequired<SimplifyGEPPass>() DetectKernelsPass (ModulePass) is a simple analysis pass that gathers kernel functions. SimplifyGEPPass (FunctionPass) perfo...