about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-06-03 10:56:42 +0000
committerbors <bors@rust-lang.org>2017-06-03 10:56:42 +0000
commit2f2d7413ffb99a21c2cba48aff3a972d5f9d126a (patch)
tree2a180e5b98c838c89862669c6b9e3f1deb502c11 /src/test/run-pass/thinlto
parentfbb92767801cd289ab0c62c81db172ce104b023e (diff)
parenta3417bf302edb5359547109bdd95d426de4e0cb2 (diff)
downloadrust-2f2d7413ffb99a21c2cba48aff3a972d5f9d126a.tar.gz
rust-2f2d7413ffb99a21c2cba48aff3a972d5f9d126a.zip
Auto merge of #42332 - michaelwoerister:no-more-retracing, r=nikomatsakis
incr.comp.: Use DefPathHash-based DepNodes in the serialized DepGraph and remove obsolete DefIdDirectory

With this PR we don't store the dep-graph as a set of `DepNode<IndexIntoDefIdDirectory>` anymore but instead as a set of `DepNode<DefPathHash>`. Since a `DefPathHash` is a global identifier that is valid across compilation sessions, we don't need the `DefIdDirectory` anymore.

Since a `DepNode<DefPathHash>` is bigger than a `DepNode<IndexIntoDefIdDirectory>` and our on-disk encoding of the dep-graph is inefficient, this PR will probably increase the amount of space the dep-graph takes up on disk. I'm in the process of gathering some performance data.

The changes in here are a step towards implementing ICH-based `DepNodes` (#42294).

r? @nikomatsakis
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions