[LLVMdev] Printing x86 ASM for Function

Nyx mcheva at cs.mcgill.ca
Mon Mar 16 15:11:36 PDT 2009


Hello,

I would like to know how to go about printing the x86 assembly output for a
compiled function (I'm using the JIT). I saw there is a  X86IntelAsmPrinter
on doxygen. However, it takes several arguments I don't know how to fill in.
Is there a helper function to create such a pass? Once I have the pass
created, do I just add it to a FunctionPassManager?

Thank you for your time,

- Maxime
-- 
View this message in context: http://www.nabble.com/Printing-x86-ASM-for-Function-tp22548549p22548549.html
Sent from the LLVM - Dev mailing list archive at Nabble.com.




More information about the llvm-dev mailing list