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

Devang Patel devang.patel at gmail.com
Mon Aug 23 12:10:36 PDT 2010


On Mon, Aug 23, 2010 at 4:46 AM, Jeffrey Yasskin <jyasskin at google.com>wrote:

>
> Devang, why does this argument to processDebugLoc even exist? I don't
> see it used anywhere, you didn't update the MachineCodeEmitter.h
> comment to mention it, and your commit adding it only says "Update
> processDebugLoc() so that it can be used to process debug info before
> and after printing an instruction."
>
>
Imagine a lexical scope represented by a single machine instruction. You
want to emit a label before and after the instruction to record instruction
range for the scope.
-
Devang
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.llvm.org/pipermail/llvm-commits/attachments/20100823/551cd6b1/attachment.html>


More information about the llvm-commits mailing list