Re: [cfe-users] fetch variable names through debugInfo attached to load instructors

2021-05-25 Thread David Blaikie via cfe-users
On Tue, May 25, 2021 at 1:13 PM Bella V wrote: > Thanks! It works. > > One sub-question: How do we analyze the member dereferenced struct > variables as dbg.declares only has the declaration info as inside the > function the struct variable types could have members dereferenced as well. > > Examp

Re: [cfe-users] fetch variable names through debugInfo attached to load instructors

2021-05-25 Thread Bella V via cfe-users
Thanks! It works. One sub-question: How do we analyze the member dereferenced struct variables as dbg.declares only has the declaration info as inside the function the struct variable types could have members dereferenced as well. Example: https://godbolt.org/z/zaeYn9do7 dbg.declares have use_v