llvm-ei
llvm-ei copied to clipboard
Port the project LLVM 6
Hi Adrian,
First of all thanks for your time and projects. I'd like to implement a tracer that would print the LLVM instructions executed. My idea is to create a class the would extend an Interpreter, obtain the pointer to the main function and call the interpreter->visit(main). Once done that I'd override the visitInstruction in my class and I should be able to see the instructions. From my understanding the Interpreter would call the different visit functions during the execution. Am I right? If not, how would you approach this problem?
Thanks
Yep, that sounds about right to me!
But FWIW, I don't know how difficult updating this for LLVM 6 will be. Maybe it will be easy, but maybe not! 🤷♀️ Good luck!