Displaying 1 result from an estimated 1 matches for "analysis_pass".
2011 Dec 01
0
[LLVMdev] Using the output of a user defined analysis pass in a user defined transform Pass
...use the results I get from my analysis
pass in my transform pass.
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.
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.
Is it nec...