<div dir="ltr">Hi everyone. I'm mainly build the debug versions of lli and opt which are huge and take up to 10 seconds to build. It seems there is no option in configure to allow dynamic linking. Before I try to add it myself, is there a reason why it's not done?<br>
<br><div class="gmail_quote">On Fri, Oct 3, 2008 at 6:14 PM, Yale Zhang <span dir="ltr"><<a href="mailto:yzhang1985@gmail.com">yzhang1985@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div dir="ltr">Does anyone know if LLVM will soon have a dynamic optimization infrastructure, namely support to generate trampolines back to the JIT/execution manager that get run when a piece of code's frequency exceeds a threshold? I see that there already is a relinkAndRecompileFunction in the JIT, which will be useful. Rather than roll my own mechanisms and have to worry about jumping back to code that gets replaced, are there already works in progress?<br>
<br>Also, is there a way to generate platform independent trampolines (e.g. generate IR that calls a function pointer to the execution engine I want to go to). LLVM seems to be pretty strict about type casts, so I was afraid I wouldn't be able to generate a function pointer initialized to arbitrary data.<br>
</div>
</blockquote></div><br></div>