about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-09-17 22:05:31 +0000
committerbors <bors@rust-lang.org>2017-09-17 22:05:31 +0000
commite8a76d8accf04047a938ba43b32d5ff9ab581715 (patch)
tree9c8a37e523ef8300f9600dd73a84018f742bca85 /src/rustllvm/RustWrapper.cpp
parentcfcac37204c8dbdde192c1c9387cdbe663fe5ed5 (diff)
parent6d614ddc2ebc25d3987b1efc84c0c7fea00ce325 (diff)
downloadrust-e8a76d8accf04047a938ba43b32d5ff9ab581715.tar.gz
rust-e8a76d8accf04047a938ba43b32d5ff9ab581715.zip
Auto merge of #44529 - alexcrichton:trans-query, r=michaelwoerister
Refactor translation unit partitioning/collection as a query

This commit is targeted at #44486 with the ultimate goal of making the `collect_and_partition_translation_items` function a query. This mostly just involved query-ifying a few other systems along with plumbing the tcx instead of `SharedCrateContext` in a few locations.

Currently this only tackles the first bullet of #44486 and doesn't add a dedicated query for a particular codegen unit. I wasn't quite sure how to do that yet but figured this was good to put up.

Closes #44486
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions