Let's not create PCM files in the dependency scanner.
Details
Details
- Reviewers
- None
Diff Detail
Diff Detail
- Repository
- rG LLVM Github Monorepo
Unit Tests
Unit Tests
Event Timeline
Comment Actions
Fixed two tests:
- modules-pch.c by always marking identifier info as not out-of-date when getting leaf module macros,
- modules-module-map-order.m by updating the sorting logic for gathering SortedFiles.
Comment Actions
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.)