[clang][deps] Set -disable-free for module compilations
The command-line arguments for module builds are cc1 commands, so they do not implicitly set -disable-free like a driver invocation, and Tooling will disable it for the scanning instance itself. Set -disable-free explicitly so that separate invocations for building modules will not pay for freeing memory unnecessarily. Differential Revision: https://reviews.llvm.org/D127229
Loading
Please sign in to comment