rust/src
bors 5dfc84cfa7 Auto merge of #44480 - Zoxc:gen-liveness, r=arielb1
Analyse storage liveness and preserve it during generator transformation

This uses a dataflow analysis on `StorageLive` and `StorageDead` statements to infer where the storage of locals are live. The result of this analysis is intersected with the regular liveness analysis such that a local is can only be live when its storage is. This fixes https://github.com/rust-lang/rust/issues/44184. If the storage of a local is live across a suspension point, we'll insert a `StorageLive` statement for it after the suspension point so storage liveness is preserved. This fixes https://github.com/rust-lang/rust/issues/44179.

r? @arielb1
2017-09-14 12:28:31 +00:00
..
bootstrap Auto merge of #44413 - est31:move_man, r=nikomatsakis 2017-09-12 12:41:23 +00:00
build_helper rustbuild: Replace create_dir_racy with create_dir_all 2017-08-07 16:04:46 +01:00
ci fix option for RUST_CONFIGURE_ARGS to be rust.ignore-git=false 2017-08-29 22:01:51 -07:00
doc Auto merge of #44413 - est31:move_man, r=nikomatsakis 2017-09-12 12:41:23 +00:00
etc Rollup merge of #44351 - lu-zero:master, r=nikomatsakis 2017-09-06 18:28:03 -06:00
grammar
jemalloc@1f5a28755e Update jemalloc to 4.5.0 2017-08-16 22:06:05 +02:00
liballoc Auto merge of #44015 - kennytm:hasher, r=alexcrichton 2017-09-12 21:39:08 +00:00
liballoc_jemalloc Autodetect the type of allocator crate used 2017-09-10 19:59:42 +02:00
liballoc_system Autodetect the type of allocator crate used 2017-09-10 19:59:42 +02:00
libarena *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libbacktrace Fix missing line numbers on i686. 2017-09-05 08:41:43 +08:00
libcollections *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libcompiler_builtins@38ffaf97aa Update the libcompiler_builins submodule 2017-09-07 09:08:09 +02:00
libcore Auto merge of #44015 - kennytm:hasher, r=alexcrichton 2017-09-12 21:39:08 +00:00
libfmt_macros *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libgetopts *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libgraphviz *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
liblibc@95848f9622 Update liblibc submodule to include latest uclibc changes 2017-09-08 14:36:56 +02:00
libpanic_abort *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libpanic_unwind Add missing dependency for Windows 2017-08-27 19:02:24 +09:00
libproc_macro Rollup merge of #44125 - SergioBenitez:master, r=nrc 2017-08-30 11:11:12 -05:00
libprofiler_builtins update gcc crate 2017-09-02 21:51:18 +02:00
librand *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc Auto merge of #44526 - leodasvacas:remove-deprecated-lang-items, r=arielb1 2017-09-14 09:18:28 +00:00
librustc_allocator Make fields of Span private 2017-08-30 01:38:54 +03:00
librustc_apfloat *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc_asan Bump master to 1.21.0 2017-07-25 07:03:19 -07:00
librustc_back Add TargetOptions::min_global_align, with s390x at 16-bit 2017-09-08 14:49:51 -07:00
librustc_bitflags *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc_borrowck Use NodeId/HirId instead of DefId for local variables. 2017-09-08 22:00:59 +03:00
librustc_const_eval rustc: evaluate fixed-length array length expressions lazily. 2017-09-11 08:41:16 +03:00
librustc_const_math rustc: replace usize with u64 and ConstUsize. 2017-09-11 08:41:15 +03:00
librustc_data_structures Analyse storage liveness and preserve it during generator transformation 2017-09-13 23:28:10 +02:00
librustc_driver rustc: Make CrateStore private to TyCtxt 2017-09-12 21:14:06 -07:00
librustc_errors Fix mispositioned error indicators 2017-09-07 10:26:27 +02:00
librustc_incremental rustc: Move crate_hash to a query 2017-09-05 07:37:27 -07:00
librustc_lint Auto merge of #44275 - eddyb:deferred-ctfe, r=nikomatsakis 2017-09-12 04:14:07 +00:00
librustc_llvm disable gcc warnings 2017-09-05 18:46:26 +02:00
librustc_lsan Bump master to 1.21.0 2017-07-25 07:03:19 -07:00
librustc_metadata Auto merge of #44420 - alexcrichton:private-cstore, r=michaelwoerister 2017-09-13 05:32:00 +00:00
librustc_mir Fix a bug where StorageIgnored had an incorrect buffer length 2017-09-13 23:28:11 +02:00
librustc_msan Bump master to 1.21.0 2017-07-25 07:03:19 -07:00
librustc_passes Auto merge of #44275 - eddyb:deferred-ctfe, r=nikomatsakis 2017-09-12 04:14:07 +00:00
librustc_platform_intrinsics Rollup merge of #44351 - lu-zero:master, r=nikomatsakis 2017-09-06 18:28:03 -06:00
librustc_plugin *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc_privacy rustc: Remove HirId from queries 2017-09-11 07:53:48 -07:00
librustc_resolve Remove the cstore reference from Session in order to prepare encapsulating CrateStore access in tcx. 2017-09-12 07:19:06 -07:00
librustc_save_analysis Use NodeId/HirId instead of DefId for local variables. 2017-09-08 22:00:59 +03:00
librustc_trans rustc: Make CrateStore private to TyCtxt 2017-09-12 21:14:06 -07:00
librustc_trans_utils *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
librustc_tsan Move unused-extern-crate to late pass 2017-08-27 19:02:24 +09:00
librustc_typeck Remove deprecated lang items 2017-09-12 17:04:26 -03:00
librustdoc rustc: Make CrateStore private to TyCtxt 2017-09-12 21:14:06 -07:00
libserialize *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libstd Auto merge of #43972 - TobiasSchaffner:std_clean, r=alexcrichton 2017-09-14 03:02:58 +00:00
libstd_unicode impl Debug for SplitWhitespace. 2017-09-03 19:13:01 -04:00
libsyntax Auto merge of #44484 - tirr-c:issue-44332, r=petrochenkov 2017-09-14 00:28:27 +00:00
libsyntax_ext Use rvalue promotion to 'static instead of static items. 2017-09-10 11:20:27 +03:00
libsyntax_pos enable desugaring-sensitive error messages and use them in Try 2017-09-03 13:10:54 +03:00
libterm *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
libtest Platform gate libc in libtest 2017-08-27 19:02:24 +09:00
libunwind *: remove crate_{name,type} attributes 2017-08-25 16:18:21 -04:00
llvm@d9e7d2696e Fix LLVM assertion when a weak symbol is defined in global_asm. 2017-07-18 16:52:00 +03:00
rt Remove the in-tree flate crate 2017-06-20 07:11:29 -07:00
rtstartup
rustc Make librustc_driver work without librustc_trans 2017-08-11 10:38:31 +02:00
rustllvm Fix covered-switch-default warnings in PassWrapper 2017-08-08 16:17:33 +08:00
test Auto merge of #44480 - Zoxc:gen-liveness, r=arielb1 2017-09-14 12:28:31 +00:00
tools Auto merge of #44420 - alexcrichton:private-cstore, r=michaelwoerister 2017-09-13 05:32:00 +00:00
Cargo.lock rustc: Make CrateStore private to TyCtxt 2017-09-12 21:14:06 -07:00
Cargo.toml Update Cargo to 0.23.0 and our lockfile 2017-08-31 07:02:50 -07:00
stage0.txt Bump to 1.22.0 2017-08-31 06:58:58 -07:00