[LLVMdev] Getting x86-64 assembly listing

Nicholas Chapman admin at indigorenderer.com
Sun Jun 12 10:28:42 PDT 2011


Hi All,
Is there a way to print out an x86-64 assembly listing for a JIT 
compiled function?
Printing to either stdout or a string would be fine.
I'm after something human-readable, so I can have a look at what kind of 
code is being produced without having to use a debugger + disassembler.
I've tried a couple of code snippets I found floating around on the web, 
but neither of them seem to work.
I'm on Windows 64 bit, using LLVM 2.7 currently.

Thanks,
     Nick C.




More information about the llvm-dev mailing list