Hi,<br><br>I need to instrument the code in order to generate an event (call a certain function) whenever X instructions have been executed. I'm using MachineFunctionPass to get machine-dependent representation of each LLVM function in the
program. However, such pass doesn't allow to modify such functions. Is there any other class so I can modify MachineFunctions? <br><br>Thanks in advance, Raul.<br clear="all"><br>-- <br>Raul Fernandes Herbster<br>Embedded and Pervasive Computing Laboratory - <a href="http://embedded.ufcg.edu.br" target="_blank">embedded.ufcg.edu.br</a><br>
Electrical Engineering and Informatics Center - CEEI<br>
Federal University of Campina Grande - UFCG - <a href="http://www.ufcg.edu.br" target="_blank">www.ufcg.edu.br</a><br>Caixa Postal 10105<br>58109-970 Campina Grande - PB - Brasil