[llvm-dev] JITEmitDebugInfo in LLVM 4.0.1

Peter Zion via llvm-dev llvm-dev at lists.llvm.org
Sun Jul 9 19:19:49 PDT 2017

Hi there,

I’m investigating upgrading LLVM from 3.5 to 4.0 within our product.  We use MCJIT and in 3.5 getting debug info emitted was just a matter of setting JITEmitDebugInfo in the TargetOptions, but this no longer seems to be the way to go and I haven’t been able to figure out how to get this to work in 4.0.  Furthermore, chapter 9 of the Kaleidoscope turorial says ‘Caveat: For now we can't debug via the JIT’ which makes me wonder if this functionality has been removed?  Apologies if I am missing something obvious here…

Peter Zion

More information about the llvm-dev mailing list