[LLVMdev] Is it possible to use EE within optimization pass?

bhavani krishnan
Mon, 27 Oct 2008 14:48:13 -0000

Hi all,

I am repeating my question from yesterday coz I need to find a solution to this
ASAP.

How do I link the executionengine to an optimization pass. If I use
LINK_COMPONENTS=engine in the Makefile, I get the Pass registered multiple times
error. And if i dont use anything, it is not able to load the EE. It gives error
loading symbol error. So,
1. Is it possible to use the EE within an optimization pass?
2. If it is possible, how do I do it?

Please help me out here!
Thanks,
Bhavani