[llvm-dev] [JIT] Evaluating Debug-Metadata in bitcode

Adrian Prantl via llvm-dev llvm-dev at lists.llvm.org
Fri Jan 19 14:38:53 PST 2018



> On Jan 19, 2018, at 9:07 AM, Robinson, Paul via llvm-dev <llvm-dev at lists.llvm.org> wrote:
>  I'm not sure our JITs even generate debug info from the metadata.
> 

They definitely can. This is what happens under the hood when you type in lldb:

(lldb) expr -g -- foo()
1 {
->  foo()
3 }
(lldb)

which puts you in the debugger, for the expression you just typed.

-- adrian


More information about the llvm-dev mailing list