[LLVMdev] Requiring dynamically loaded passes

Vikram S. Adve vadve at uiuc.edu
Tue Dec 4 08:24:09 PST 2007


Is it possible to AddRequired<...> a pass that is dynamically  
loaded?  This would be very convenient for a course project but the  
documentation about pass interactions says nothing about dynamically  
loaded passes and vice versa.

More specifically, to refer to the pass name in AddRequired, I need  
to declare it first but then I can't think of a way to load the  
module implementing the pass dynamically instead of linking it  
statically.

--Vikram
http://www.cs.uiuc.edu/~vadve
http://llvm.org





More information about the llvm-dev mailing list