search for: detectkernelspass

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

2020 Oct 02
2
Pass dependency error
...ss && "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) performs some transformations. InstrumentationPass (ModulePass) is using the others like: auto kernels = getAnalysis<Det...