[PATCH] D74447: [Clang] After integrated-cc1, ignore -disable-free when there are more than one job in the queue

Alexandre Ganea via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Feb 12 06:50:12 PST 2020


aganea added a comment.

In D74447#1872043 <https://reviews.llvm.org/D74447#1872043>, @thakis wrote:

> Isn't a better approach to only do in-process cc1 if there's just one TU?


One of the reasons of the in-process cc1 was the debuggability. If we can compile several TUs in-process, why not doing it?

As for build times, we found that even with the clean up, in-process+clean-up is faster than out-of-process+disable-free. That is, on Windows and in the context of the `llvm-buildozer` app I've presented at the LLVM conf., where all the TUs for a project are compiled in the same process (meaning there's a clean up after each TU).

Any other issues you were seeing with this current approach?


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

https://reviews.llvm.org/D74447





More information about the cfe-commits mailing list