Displaying 1 result from an estimated 1 matches for "depana".
Did you mean:
delana
2005 Sep 05
2
[LLVMdev] Pass is not automatically registered
I am not sure if my problem is similar to:
http://lists.cs.uiuc.edu/pipermail/llvmdev/2003-December/000715.html
It seems that the constructor of the static global pass object isn't called:
lib/CodeGen/DependenceAnalyzer.cpp:
static RegisterAnalysis<DependenceAnalyzer> X("depana", "Dependence Analysis");
I traced into struct RegisterAnalysis ctor, but my pass doesn't
appear. I put it in an anonymous namespace, it doesn't work too.
The class definitions:
class DependenceAnalyzer : public MachineFunctionPass {
virtual void getAnalysisUsage(Analys...