weiwang added a comment.

We've seen a huge memory footprint from AST Reader/Writer in a single CU with 
module enabled. Upon further analysis, the content of vector 
`DeclsToCheckForDeferredDiags` seems mostly redundant. In one case, 
1,734,387,685 out of 1,734,404,000 elements are the same. While this may 
indicate something wrong with the source itself, it also suggests that compiler 
would be better to perform deduplication on this type of Decl ID.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D101793/new/

https://reviews.llvm.org/D101793

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to