jansvoboda11 abandoned this revision.
jansvoboda11 added a comment.
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.)
Repository:
rG LLVM Github Monorepo
jansvoboda11 updated this revision to Diff 475613.
jansvoboda11 added a comment.
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`.
Repos
jansvoboda11 updated this revision to Diff 473104.
jansvoboda11 added a comment.
Kinda rebase
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137259/new/
https://reviews.llvm.org/D137259
Files:
clang/include/clang/Frontend/CompilerInstance.h
cla
jansvoboda11 updated this revision to Diff 473043.
jansvoboda11 added a comment.
Handle macros
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137259/new/
https://reviews.llvm.org/D137259
Files:
clang/include/clang/Frontend/CompilerInstance.h
cl
jansvoboda11 updated this revision to Diff 472697.
jansvoboda11 added a comment.
Improve SourceLocation handling: invalid & inside predefines buffer.
Repository:
rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
https://reviews.llvm.org/D137259/new/
https://reviews.llvm.org/D137259
Files:
jansvoboda11 created this revision.
Herald added a subscriber: ributzka.
Herald added a project: All.
jansvoboda11 requested review of this revision.
Herald added a project: clang.
Herald added a subscriber: cfe-commits.
Let's not create PCM files in the dependency scanner.
Repository:
rG LLVM