[LLVMdev] [PROPOSAL] Attach debugging information with LLVM instruction

Devang Patel devang.patel at gmail.com
Thu Sep 10 14:56:24 PDT 2009

2009/9/10 Török Edwin <edwintorok at gmail.com>:
> On 2009-09-10 20:48, Devang Patel wrote:
>> Now, the optimizer does not need to worry about those llvm.dbg
>> hurdles. Instructions do not lose their location information when they
>> are rearranged in instruction stream. And the stage is set to produce,
>> preserve and emit accurate debug information for inlined functions.
>> Any thoughts/suggestions/questions ?
> Sounds good.
> To ease transition from LLVM 2.6->2.7, could there be a pass that adds
> back the llvm.dbg intrinsics based on the metadata on the instructions?

I'd prefer to not overload llvm.dbg intrinsics, if possible.

> No in-tree pass should need that, but it could help external projects
> that rely on stoppoints being present.
.. just during transition or forever ?


More information about the llvm-dev mailing list