[PATCH] D101793: [clang][AST] Improve AST Reader/Writer memory footprint

Wei Wang via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Mon May 3 16:03:01 PDT 2021


weiwang created this revision.
Herald added subscribers: hoy, wenlei.
weiwang requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.

Reduce memory footprint of AST Reader/Writer:

1. Adjust internal data containers' element type.
2. Switch to set for deduplication of deferred diags.


Repository:
  rG LLVM Github Monorepo

https://reviews.llvm.org/D101793

Files:
  clang/include/clang/Serialization/ASTReader.h
  clang/include/clang/Serialization/ASTWriter.h
  clang/lib/Serialization/ASTReader.cpp
  clang/lib/Serialization/ASTWriter.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D101793.342575.patch
Type: text/x-patch
Size: 7293 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20210503/9b5c86be/attachment.bin>


More information about the cfe-commits mailing list