Hi,<br><br>I was able to figure out this one, by checking out <a href="http://profile.pl">profile.pl</a>. <br>However, I am still interested in getting to know if there is anyway to compile from bitcode to a normal executable?<br>

Maybe I am missing something obvious... :P ?<br><br>Thanks<br>Nipun<br><br><div class="gmail_quote">On Fri, Apr 1, 2011 at 1:34 PM, Nipun Arora <span dir="ltr"><<a href="mailto:nipun2512@gmail.com">nipun2512@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">Hi,<br><br>Could anyone tell me how exactly can one convert a .bc file (bitcode file) to an executable in the native program. <br>

<br>I was trying an instrumentation transform with the following workflow<br><br>opt -insert-edge-profiling input.bc -o output.bc<br>
<br>and then try and execute output.bc using <br><br>lli output.bc<br><br>however the program gives the following error :  Program used external function 'llvm_start_edge_profiling' which could not be resolved!.<br>


<br>Could anyone guide me to the correct workflow for doing such transforms and then executing them?<br><br>Thanks<br><font color="#888888">Nipun<br>
</font></blockquote></div><br>