Re: [cfe-users] No macros in DI metadata

2021-07-14 Thread David Blaikie via cfe-users
On Wed, Jul 14, 2021 at 10:16 AM Bella V wrote: > > Thanks a lot! It works. > > Also there is no IR code generated for macros. Is there a way to relate > llvm::value's that refer to macros. Not that I know of, no. If you're interested in doing source analysis like this - you might want to use a

Re: [cfe-users] No macros in DI metadata

2021-07-14 Thread Bella V via cfe-users
Thanks a lot! It works. Also there is no IR code generated for macros. Is there a way to relate llvm::value's that refer to macros. Many Thanks. On Tue, Jul 13, 2021 at 7:06 PM David Blaikie wrote: > You could check where the macro is defined, I guess? > If it's in a DIMacroFile i guess it's n