Skip to content
Unverified Commit 9208065a authored by Jan Svoboda's avatar Jan Svoboda Committed by GitHub
Browse files

[clang][deps] Store common, partially-formed invocation (#65677)

We create one `CompilerInvocation` for each modular dependency we
discover. This means we create a lot of copies, even though most of the
invocation is the same between modules. This patch makes use of the
copy-on-write flavor of `CompilerInvocation` to share the common parts,
reducing memory usage and speeding up the scan.
parent ea9e47d5
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment