rust/src/test/run-pass/thinlto
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
..
auxiliary rustc: Add _imp_ symbols later in compilation 2017-10-18 07:01:29 -07:00
all-crates.rs rustc: Add -C lto=val option 2018-01-23 14:13:47 -08:00
dylib-works.rs
msvc-imp-present.rs rustc: Add _imp_ symbols later in compilation 2017-10-18 07:01:29 -07:00
thin-lto-inlines.rs test: Update Emscripten failures/passing 2017-10-17 18:46:38 -07:00
thin-lto-inlines2.rs rustc: Add -C lto=val option 2018-01-23 14:13:47 -08:00
weak-works.rs rustc: Further tweak linkage in ThinLTO 2017-12-07 06:53:49 -08:00