[LLVMdev] Requiring a ModulePass to be run from a FunctionPass

Devang Patel dpatel at apple.com
Thu Oct 30 18:11:41 PDT 2008


On Oct 28, 2008, at 10:56 AM, Török Edwin wrote:

> Hi,
>
> I have a FunctionPass that requires a ModulePass using  
> addRequiredById().
> When I start opt it infloops somewhere in  
> PMDataManager::findAnalysisPass.
>
> Should I open a bug, or is this a known issue (i.e. I am doing  
> something
> wrong)? Is there a workaround?

Yes, please open a bug with code snippet of your FunctionPass and  
ModulePass.
Thanks!
-
Devang







More information about the llvm-dev mailing list