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.