[PATCH] D69825: [Clang][Driver] Re-use the calling process instead of creating a new process for the cc1 invocation
    Erich Keane via Phabricator via llvm-commits 
    llvm-commits at lists.llvm.org
       
    Fri Feb  7 06:03:05 PST 2020
    
    
  
erichkeane added a comment.
I've filed this bug against this patch: https://bugs.llvm.org/show_bug.cgi?id=44823
We've discovered in cases where multiple TUs are invoked in a single command line that the memory between calls isn't cleaned up like it was previously.  This results in really high memory use from a compilation.
Experimentation has shown that removing the addition of the -disable-free flag from the CC1Command command lines fixes the issue.  However, I believe we should only remove that in cases where it is NOT the last CC1 command (since the disable-free has some pretty solid performance improvements).
Repository:
  rG LLVM Github Monorepo
CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D69825/new/
https://reviews.llvm.org/D69825
    
    
More information about the llvm-commits
mailing list