Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[clang][CodeGenPGO] Don't use an invalid index when region counts dis…
…agree If we're using an old instrprof profile and the user passes we can get Decls with children decl counts not matching the what the profile was written against. In a particular case I was debugging we have 24 decls in the AST and 22 decls in the profile. Avoid crashing in this case. Differential Revision: https://reviews.llvm.org/D149504
- Loading branch information