Hi,<div><br></div><div>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.</div>
<div><br></div><div>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.</div><div><br></div><div>Thanks!</div><div>Nicolas </div>