[LLVMdev] passing parameters for a analysis pass
Trevor.W.Harmon at nasa.gov
Thu Jul 8 14:05:42 PDT 2010
On Jul 7, 2010, at 4:23 PM, Guoliang Jin wrote:
> I want to pass parameter to a analysis pass. My pass need to use some
> result from some other tools.
The getAnalysis function returns a reference to a pass. Once you have
the reference you can call the pass's member functions or access its
member variables to send/receive information.
More information about the llvm-dev