[LLVMdev] Best way to require a pass from a dynamically loaded module?

Michael McCracken michael.mccracken at gmail.com
Mon Apr 18 15:04:05 PDT 2005

Hi, I have a situation where I built an analysis pass as a loadable
module, but I'd like to require it from other passes, to make it
available if it's been loaded.
Is there a clean way to do this, or am I stretching it too far?
If there isn't a nice way, I'd be interested in discussion about what
would be the least ugly hack just to get it working.


Michael McCracken
UCSD CSE PhD Student
San Diego Supercomputer Center

More information about the llvm-dev mailing list