[llvm-commits] JIT: Emitting a debug location after an instruction

nicolas geoffray nicolas.geoffray at gmail.com
Sun Aug 22 15:04:37 PDT 2010


The attached patch adds a flags to TargetOptions to control when a debug
location must be emitted when jitting. As of today, it could only be emitted
before the instruction was emitted. Because, at runtime, when walking the
call stack, return instructions point to the next instruction after the
call, I would like to emit a debug information after a call instruction.

I haven't found any alternative or existing approach in LLVM. Please let me
know if you know one, and/or what you think about the patch.

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100823/3adbdd25/attachment.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: jit.patch
Type: application/octet-stream
Size: 2296 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100823/3adbdd25/attachment.obj>

More information about the llvm-commits mailing list