You'll possibly want dbg_declare there too. I think I'd like printDebugLoc to be somewhere else if we use it, but why not just print out the entire inline asm MachineInstr? Also, you should probably move to MCJIT :) http://reviews.llvm.org/D3416