Displaying 2 results from an estimated 2 matches for "lampprofil".
2008 Jul 17
2
[LLVMdev] Pass Added as Required fails assert
...;::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.0.4 with gcc 4.2.3. Does anyone know what could
be c...
2008 Jul 17
0
[LLVMdev] Pass Added as Required fails assert
...rogram
that has other functions prior to the main function. It only fails in this
manner when main is the first (or only) function in the source file.
Debugging information:
Breakpoint 2, getAnalysisUsage (this=0x88072c8, AU=@0xbfa352f8) at
/home/pprabhu/llvm/llvm/lib/Transforms/Instrumentation/LAMPProfiling.cpp:93
93 AU.addRequired<LdStCallCounter>();
(gdb) c
Continuing.
Breakpoint 2, getAnalysisUsage (this=0x88072c8, AU=@0xbfa350b4) at
/home/pprabhu/llvm/llvm/lib/Transforms/Instrumentation/LAMPProfiling.cpp:93
93 AU.addRequired<LdStCallCounter>();
(gdb) c...