llvm-ei icon indicating copy to clipboard operation
llvm-ei copied to clipboard

Port the project LLVM 6

Open thealberto opened this issue 6 years ago • 1 comments
trafficstars

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

thealberto avatar Nov 22 '18 20:11 thealberto

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!

sampsyo avatar Nov 23 '18 18:11 sampsyo