Displaying 2 results from an estimated 2 matches for "createldstcallcounter".
2008 Jul 17
2
[LLVMdev] Pass Added as Required fails assert
...const llvm::PassInfo*) const [with
AnalysisType = <unnamed>::LdStCallCounter]: Assertion `ResultPass &&
"getAnalysis*() called on an analysis that was not " "'required' by pass!"'
failed.
We have modified opt.cpp with the following lines:
addPass(PM, createLdStCallCounter()); // tmason
addPass(PM, createLAMPProfilerPass()); // tmason
We have modified Instrumentation.h with the following lines:
ModulePass* createLdStCallCounter();
BasicBlockPass *createLAMPProfilerPass();
The .cpp file generating the error is attached.
Both machines run Ubuntu 8....
2008 Jul 17
0
[LLVMdev] Pass Added as Required fails assert
...[with
> AnalysisType = <unnamed>::LdStCallCounter]: Assertion `ResultPass &&
> "getAnalysis*() called on an analysis that was not " "'required' by pass!"'
> failed.
>
> We have modified opt.cpp with the following lines:
> addPass(PM, createLdStCallCounter()); // tmason
> addPass(PM, createLAMPProfilerPass()); // tmason
>
> We have modified Instrumentation.h with the following lines:
> ModulePass* createLdStCallCounter();
> BasicBlockPass *createLAMPProfilerPass();
>
> The .cpp file generating the error is attac...