Add back the JIT dwarf emission functionality removed by r181354 and r181649.