Two small enhancements for the JIT.
authorYaron Keren <yaron.keren@gmail.com>
Wed, 4 Jun 2014 17:35:28 +0000 (17:35 +0000)
committerYaron Keren <yaron.keren@gmail.com>
Wed, 4 Jun 2014 17:35:28 +0000 (17:35 +0000)
commit2207190cd5184325ddf4a05b71f9e80167add653
treef4fd339905d8bb55049ed487cc39c3ea1b42393a
parent484610c69b643817f7b48d4a7049cb9b21b33c8c
Two small enhancements for the JIT.

When JITting a large project such as Boost it's quite hard to figure out the problematic inline asm without debug location. This patch provides debug location printout before the JIT aborts due to inline asm. printDebugLoc() was exposed from MachineInstr.cpp and reused here.

If the JIT run with debug info, don't bomb on DBG_VALUE but ignore them.

http://reviews.llvm.org/D3416

llvm-svn: 210201
llvm/lib/Target/X86/X86CodeEmitter.cpp