Add -fdebug-macro
On Tue, Jul 13, 2021 at 4:05 PM Bella V via cfe-users <cfe-users@lists.llvm.org> wrote: > > Hello All, > > I'm trying to build a list of macros in a compilation unit using > CU->getMacros(). > I do not see the macros field in DICompileUnit output. > https://godbolt.org/z/b8cM1Yf7v > > Please let me know what I'm missing. > > Many Thanks. > > _______________________________________________ > cfe-users mailing list > cfe-users@lists.llvm.org > https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users _______________________________________________ cfe-users mailing list cfe-users@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-users