rust/src
Alex Crichton 8bde2acfc7 rustc: Add -C lto=val option
This commit primarily adds the ability to control what kind of LTO happens when
rustc performs LTO, namely allowing values to be specified to the `-C lto`
option, such as `-C lto=thin` and `-C lto=fat`. (where "fat" is the previous
kind of LTO, throw everything in one giant module)

Along the way this also refactors a number of fields which store information
about whether LTO/ThinLTO are enabled to unify them all into one field through
which everything is dispatched, hopefully removing a number of special cases
throughout.

This is intended to help mitigate #47409 but will require a backport as well,
and this would unfortunately need to be an otherwise insta-stable option.
2018-01-23 14:13:47 -08:00
..
binaryen@1c9bf65aa0 Update miri to rustc changes 2017-12-06 09:25:29 +01:00
bootstrap Rollup merge of #47558 - spastorino:rustc_args, r=nikomatsakis 2018-01-23 17:03:39 +08:00
build_helper Revert "Add a file to trivially disable tool building or testing" 2017-12-27 00:00:45 +08:00
ci Automaticaly calculate beta prerelease numbers 2018-01-19 08:57:01 -08:00
dlmalloc@d3812c3acc Update miri to rustc changes 2017-12-06 09:25:29 +01:00
doc Auto merge of #47158 - rkruppe:repr-transparent, r=eddyb 2018-01-22 08:10:41 +00:00
etc Correct the return type for x86_mm256_sad_epu8 2017-12-21 22:58:03 +00:00
grammar Update miri to rustc changes 2017-12-06 09:25:29 +01:00
jemalloc@1f5a28755e
liballoc Rollup merge of #47632 - sdroege:exact-chunks-docs-broken-links, r=kennytm 2018-01-21 23:11:43 +01:00
liballoc_jemalloc Make liballoc_jemalloc work on CloudABI. 2018-01-18 21:11:24 +01:00
liballoc_system Build the right platform module on CloudABI. 2017-12-31 13:21:46 +01:00
libarena Rollup merge of #47069 - Kagamihime:master, r=nrc 2018-01-13 02:26:23 +08:00
libbacktrace Update miri to rustc changes 2017-12-06 09:25:29 +01:00
libcompiler_builtins@0ba07e4926 Update compiler_builtins 2017-12-26 22:22:21 -02:00
libcore Rollup merge of #47193 - cramertj:result-opts, r=TimNN 2018-01-20 22:32:42 +01:00
libfmt_macros Update miri to rustc changes 2017-12-06 09:25:29 +01:00
libgetopts Update miri to rustc changes 2017-12-06 09:25:29 +01:00
libgraphviz Fix docs for future pulldown migration 2018-01-01 14:44:12 +01:00
liblibc@2b4cd1016b Upgrade liblibc to latest upstream version. 2018-01-08 16:59:15 +01:00
libpanic_abort Let libpanic_abort call into libc's abort() on CloudABI. 2018-01-05 22:16:54 +01:00
libpanic_unwind Make libpanic_unwind build on CloudABI. 2018-01-04 17:55:44 +01:00
libproc_macro Auto merge of #46551 - jseyfried:improve_legacy_modern_macro_interaction, r=nrc 2018-01-12 10:00:09 +00:00
libprofiler_builtins Update miri to rustc changes 2017-12-06 09:25:29 +01:00
librustc rustc: Add -C lto=val option 2018-01-23 14:13:47 -08:00
librustc_allocator Update miri to rustc changes 2017-12-06 09:25:29 +01:00
librustc_apfloat in which the unused-parens lint comes to cover function and method args 2018-01-18 08:33:58 -08:00
librustc_asan
librustc_back Give TargetOptions::linker a sane default value. 2018-01-19 09:29:58 +01:00
librustc_binaryen Update miri to rustc changes 2017-12-06 09:25:29 +01:00
librustc_borrowck Do not suggest to make mut binding external to Fn closure 2018-01-15 14:19:33 -08:00
librustc_const_eval fix comments 2018-01-13 23:41:11 +02:00
librustc_const_math rustc: use {U,I}size instead of {U,I}s shorthands. 2018-01-04 03:12:04 +02:00
librustc_cratesio_shim
librustc_data_structures Stabilize std::ptr::NonNull 2018-01-20 11:09:23 +01:00
librustc_driver Auto merge of #47678 - kennytm:rollup, r=kennytm 2018-01-23 16:13:18 +00:00
librustc_errors Rollup merge of #47407 - gaurikholkar:master, r=estebank 2018-01-18 01:57:16 +08:00
librustc_incremental Allow runtime switching between trans backends 2018-01-19 20:27:10 +01:00
librustc_lint Auto merge of #47158 - rkruppe:repr-transparent, r=eddyb 2018-01-22 08:10:41 +00:00
librustc_llvm Update DW_OP_plus to DW_OP_plus_uconst 2018-01-19 21:43:53 -08:00
librustc_lsan
librustc_metadata Auto merge of #47494 - michaelwoerister:proc-macro-incremental, r=nikomatsakis 2018-01-19 04:45:22 +00:00
librustc_mir Auto merge of #47353 - nikomatsakis:nll-issue-47189, r=pnkfelix+nmatsakis 2018-01-22 11:11:47 +00:00
librustc_msan
librustc_passes Rollup merge of #47417 - petrochenkov:noasm, r=estebank 2018-01-15 18:49:38 +08:00
librustc_platform_intrinsics Correct the return type for x86_mm256_sad_epu8 2017-12-21 22:58:03 +00:00
librustc_plugin Don't include DefIndex in plugin- and proc-macro registrar fn symbol. 2018-01-16 17:30:11 +01:00
librustc_privacy Reexport -> re-export in prose and documentation comments 2018-01-15 13:36:53 -05:00
librustc_resolve Review fixes 2018-01-22 15:29:34 +05:30
librustc_save_analysis Remove impl Foo for .. in favor of auto trait Foo 2018-01-13 18:48:00 +03:00
librustc_trans rustc: Add -C lto=val option 2018-01-23 14:13:47 -08:00
librustc_trans_utils Fix ICE 2018-01-20 11:55:55 +01:00
librustc_tsan
librustc_typeck Auto merge of #47158 - rkruppe:repr-transparent, r=eddyb 2018-01-22 08:10:41 +00:00
librustdoc Auto merge of #47678 - kennytm:rollup, r=kennytm 2018-01-23 16:13:18 +00:00
libserialize Auto merge of #46919 - michaelwoerister:new-leb128, r=sfackler 2018-01-20 02:00:13 +00:00
libstd Rollup merge of #47334 - etaoins:only-call-res-init-on-gnu-unix, r=alexcrichton 2018-01-21 23:11:38 +01:00
libstd_unicode Reexport -> re-export in prose and documentation comments 2018-01-15 13:36:53 -05:00
libsyntax Auto merge of #47158 - rkruppe:repr-transparent, r=eddyb 2018-01-22 08:10:41 +00:00
libsyntax_ext Rollup merge of #47655 - etaoins:fix-spurious-warning-on-empty-proc-macro-crate, r=alexcrichton 2018-01-23 22:30:58 +08:00
libsyntax_pos Auto merge of #46551 - jseyfried:improve_legacy_modern_macro_interaction, r=nrc 2018-01-12 10:00:09 +00:00
libterm Use Try syntax for Option in place of macros or match 2017-12-09 14:18:33 -08:00
libtest Make libtest build on CloudABI. 2018-01-11 11:42:33 +01:00
libunwind Link against -lunwind on CloudABI. 2017-12-26 23:32:42 +01:00
llvm@2717444753 Try to find a better pass manager order 2017-12-24 00:15:12 +02:00
rt
rtstartup Remove impl Foo for .. in favor of auto trait Foo 2018-01-13 18:48:00 +03:00
rustc Update miri to rustc changes 2017-12-06 09:25:29 +01:00
rustllvm Update DW_OP_plus to DW_OP_plus_uconst 2018-01-19 21:43:53 -08:00
test rustc: Add -C lto=val option 2018-01-23 14:13:47 -08:00
tools Auto merge of #47678 - kennytm:rollup, r=kennytm 2018-01-23 16:13:18 +00:00
Cargo.lock Rollup merge of #47423 - est31:rustbook_checking, r=alexcrichton 2018-01-23 17:03:32 +08:00
Cargo.toml Update Cargo and its dependencies 2018-01-17 23:14:23 -08:00
stage0.txt Bump to 1.25.0 2018-01-04 07:21:22 -08:00