about summary refs log tree commit diff
path: root/src/test/ui/thinlto
diff options
context:
space:
mode:
authorTyson Nottingham <tgnottingham@gmail.com>2020-11-28 17:42:41 -0800
committerTyson Nottingham <tgnottingham@gmail.com>2020-12-22 14:12:57 -0800
commitea47269f5f50cd7804141ba00811b79be1e156c6 (patch)
tree9820dabb76dec9b964b3cec834ae90b8ebb153ee /src/test/ui/thinlto
parentf6d6b0c96d86541e8fb69d133ff6222a038e5a53 (diff)
downloadrust-ea47269f5f50cd7804141ba00811b79be1e156c6.tar.gz
rust-ea47269f5f50cd7804141ba00811b79be1e156c6.zip
rustc_query_system: share previous graph edges with current graph
Reduce memory consumption by sharing the previous dependency graph's
edges with the current graph when it is known to be valid to do so. It
is known to be valid whenever we mark a node green because all of its
dependencies were green. It is *not* known to be valid when we mark a
node green because we re-executed its query and its result was the same
as in the previous compilation session. In that case, the dependency set
might have changed (we don't try to determine whether or not it changed
and whether or not we can share).
Diffstat (limited to 'src/test/ui/thinlto')
0 files changed, 0 insertions, 0 deletions