[LLVMdev] dependent passes

Ryan M. Lefever lefever at crhc.uiuc.edu
Tue Sep 26 17:49:09 PDT 2006

I am trying to create two passes X and Y, in which pass X depends on 
pass Y.  After attempting this several times it appears that pass Y must 
be in the llvm namespace.  Whenever it was not in the llvm namespace, 
"opt -load" would complain about undefined symbols when I called 
getAnalysis<>(). Am I correct that the pass that is depended on must be 
in the llvm namespace?  If so, that was not clear in the documentation 
regarding writing an LLVM pass.


More information about the llvm-dev mailing list