This is an archive of the discontinued LLVM Phabricator instance.

WIP: AST{Reader,Writer} alternative
AbandonedPublic

Authored by jansvoboda11 on Nov 17 2022, 10:10 AM.

Details

Reviewers
None

Diff Detail

Event Timeline

jansvoboda11 created this revision.Nov 17 2022, 10:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 17 2022, 10:10 AM
Herald added a subscriber: ributzka. · View Herald Transcript
jansvoboda11 requested review of this revision.Nov 17 2022, 10:10 AM
Herald added a project: Restricted Project. · View Herald TranscriptNov 17 2022, 10:10 AM
Herald added a subscriber: cfe-commits. · View Herald Transcript

Prevent module redefinition errors, fix memory leak

("Simple" tends to be an over used/overly vague term and may become less correct over time - if there's some more descriptive term that explains the difference between the old and newer one it'd be awesome to use - but yeah, sometimes "Simple", "New", etc, is just the way it goes :))

jansvoboda11 abandoned this revision.Apr 20 2023, 11:00 AM

Using CompilerInstance as the module storage dramatically increases memory usage (peak ~30GB) of clang-scan-deps when scanning LLVM. (Memory mapping serialized files peaks at ~300MB.)