Holman added a comment. In D99994#2677566 <https://reviews.llvm.org/D99994#2677566>, @rnk wrote:
> IMO it's best to avoid adding fields to DICompileUnit if at all possible. > It's the "god object" / "katamari damacy" of module debug info. Is there > something about the IR module that indicates if PGO data is present or not? > We could check that instead. I looked, but I wasn't able to find anything > quickly. Got it. It looks like MMI->getModule()->getProfileSummary() should have the info I need. I'll update to use that instead. Repository: rG LLVM Github Monorepo CHANGES SINCE LAST ACTION https://reviews.llvm.org/D99994/new/ https://reviews.llvm.org/D99994 _______________________________________________ cfe-commits mailing list cfe-commits@lists.llvm.org https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits