Hi everyone I would like to run a pass that I have wrote during the JIT (lli). But LLVM does not seem to have such an option. I can't even call standard LLVM's passes (for exmple, -adce). I have also tried to use lli -load=<path to the .so file of my pass>. But that won't help either. Anyway, is there a way do to that? Sincerely, Schuhmacher -------------- next part -------------- An HTML attachment was scrubbed... URL: <http://lists.llvm.org/pipermail/llvm-dev/attachments/20111202/55e9a402/attachment.html>
Hi,> I would like to run a pass that I have wrote during the JIT (lli). But LLVM does > not seem to have such an option. I can't even call standard LLVM's passes (for > exmple, -adce). I have also tried to use lli -load=<path to the .so file of my > pass>. But that won't help either. > Anyway, is there a way do to that?you can run your pass using opt then run lli on the result. Ciao, Duncan.