Displaying 2 results from an estimated 2 matches for "lazydev".
Did you mean:
lastdev
2011 Dec 06
2
[LLVMdev] Assertion `PI && "Expected required passes to be initialized"' failed for AliasAnalysis.
Dear lazydev,
I'm writing an instrumentation pass that depends on AliasAnalysis. My
getAnalysisUsage() looks as follows:
2453 void ThreadSanitizer::getAnalysisUsage(AnalysisUsage &AU) const {
2454 AU.addRequired<TargetData>();
2455 AU.addRequired<AliasAnalysis>();
2456 }
and the pass...
2011 Dec 06
0
[LLVMdev] Assertion `PI && "Expected required passes to be initialized"' failed for AliasAnalysis.
...stry);
initializeTransformUtils(Registry);
initializeInstCombine(Registry);
initializeInstrumentation(Registry);
initializeTarget(Registry);
before creating passes. Maybe it could help you to track down the issue.
- D.
2011/12/6 Alexander Potapenko <glider at google.com>:
> Dear lazydev,
>
> I'm writing an instrumentation pass that depends on AliasAnalysis. My
> getAnalysisUsage() looks as follows:
>
> 2453 void ThreadSanitizer::getAnalysisUsage(AnalysisUsage &AU) const {
> 2454 AU.addRequired<TargetData>();
> 2455 AU.addRequired<AliasAnal...