Hi,<br><br>I have created a transform pass that uses the results of my analysis pass. <br><br>My analysis pass depends on the DominatorTree pass.<br><br>I am facing an issue when I try to use the results I get from my analysis pass in my transform pass. <br>

<br>I can run the analysis pass separately using opt -load without any problem. Both the transform and analysis pass object files are in one .so file which I use with opt -load. <br><br>However, in my transform pass, when I use addRequired<analysis_pass> in the getAnalysisUsage function, I get a segmentation fault when I try to run the transform pass. I found that I do not have this error when I use an analysis pass that does not need to be loaded (for example, loopinfo). Also, both my transform and analysis pass are function passes. <br>

<br>Is it necessary that my analysis pass should be integrated into opt (without using -load) if it has to be used by my transform pass? <br><br><br>Thanks,<br clear="all">Anna <br><br>