jansvoboda11 added a comment.

Hmm, maybe we could avoid holding on to the whole `CompilerInstance`. For 
generating the command-line, we only need the `CompilerInvocation`. For 
collecting file dependencies, we could hold on to the `MemoryBuffer` (and maybe 
offset to the input files block), and deserialize that on-demand, without 
keeping the whole `CompilerInstance` around.


Repository:
  rG LLVM Github Monorepo

CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D158469/new/

https://reviews.llvm.org/D158469

_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
https://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to