[cfe-dev] Adding extra debug information

Vedant Kumar via cfe-dev cfe-dev at lists.llvm.org
Thu Nov 30 10:11:34 PST 2017


Hi Eli,

You might start by grepping for MD_loop in llvm, or by reading through lib/Analysis/LoopInfo.cpp.

vedant

> On Nov 30, 2017, at 8:39 AM, via cfe-dev <cfe-dev at lists.llvm.org> wrote:
> 
> Hi cfe-dev,
>  
> I'm quite new to Clang. When using Clang 5.0 with -g, the generated llvm IR has loop metadata. I am trying to add more information to that metadata node, but am having trouble knowing where to start. Can anyone point me to what files/classes I should be looking at to make such a change?
>  
> Thank you!
>  
> Eli Davis
> _______________________________________________
> cfe-dev mailing list
> cfe-dev at lists.llvm.org
> http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-dev




More information about the cfe-dev mailing list