Displaying 2 results from an estimated 2 matches for "mycfg".
Did you mean:
mcfg
2013 Mar 15
2
[LLVMdev] write a simple MachineFunctionPass
...e:
virtual bool runOnMachineFunction(MachineFunction &MF);
virtual void getAnalysisUsage(AnalysisUsage &AU) const {
MachineFunctionPass::getAnalysisUsage(AU);
}
};
} // end anonymous namespace
char CFGexplorator::ID = 0;
static RegisterPass<CFGexplorator> Y("mycfg", "mycfg", false, false);
bool CFGexplorator::runOnMachineFunction(MachineFunction &MF) {
return false;
}
I get the error :
Pass 'mycfg' is not initialized.
Verify if there is a pass dependency cycle.
Required Passes:
opt: PassManager.cpp:638: void
llvm::PMTopLevelMan...
2013 Mar 15
0
[LLVMdev] write a simple MachineFunctionPass
...chineFunction &MF);
>
> virtual void getAnalysisUsage(AnalysisUsage &AU) const {
> MachineFunctionPass::getAnalysisUsage(AU);
> }
> };
> } // end anonymous namespace
>
> char CFGexplorator::ID = 0;
> static RegisterPass<CFGexplorator> Y("mycfg", "mycfg", false, false);
>
> bool CFGexplorator::runOnMachineFunction(MachineFunction &MF) {
> return false;
> }
>
>
>
> I get the error :
> Pass 'mycfg' is not initialized.
> Verify if there is a pass dependency cycle.
> Required Passes:...