[cfe-dev] When the debugging info are inserted

Simone Atzeni simone.at at gmail.com
Fri Sep 19 11:01:23 PDT 2014


Ok thanks,

but when the module is complete?
I am taking a look to CodeGenModule.h, look like that when the function Release() is called means that the module is complete, am I right?

Thanks.
Simone

On Sep 19, 2014, at 11:24, Eric Christopher <echristo at gmail.com> wrote:

> Debug info creation happens at the same time as code generation. So
> when the IR module is complete, so is debug info.
> 
> -eric
> 
> On Fri, Sep 19, 2014 at 10:18 AM, Simone Atzeni <simone.at at gmail.com> wrote:
>> Hi all,
>> 
>> if I understand well, under “clang/lib/CodeGen” there are all the modules that generates the IR code from the AST.
>> 
>> I would like to know when the IR code generation is completed and all the debugging information are available in each IR instruction.
>> 
>> Do you have any idea?
>> 
>> Thanks.
>> Best Regards,
>> Simone
>> _______________________________________________
>> cfe-dev mailing list
>> cfe-dev at cs.uiuc.edu
>> http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev





More information about the cfe-dev mailing list