[llvm] Introduce paged vector (PR #66430)
Giulio Eulisse via llvm-commits
llvm-commits at lists.llvm.org
Mon Sep 18 15:36:19 PDT 2023
================
@@ -7944,9 +7944,13 @@ void ASTReader::PrintStats() {
std::fprintf(stderr, "*** AST File Statistics:\n");
unsigned NumTypesLoaded =
- TypesLoaded.size() - llvm::count(TypesLoaded, QualType());
+ TypesLoaded.size() - std::count(TypesLoaded.materialisedBegin(),
----------------
ktf wrote:
No, materialised simply means the page holding it was allocated. One still needs to look for non default initialised elements as before.
https://github.com/llvm/llvm-project/pull/66430
More information about the llvm-commits
mailing list