[PATCH] D99994: [CodeView] Add CodeView support for PGO debug information
Michael Holman via Phabricator via llvm-commits
llvm-commits at lists.llvm.org
Thu Apr 8 13:11:51 PDT 2021
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
More information about the llvm-commits
mailing list