diff options
| author | bors <bors@rust-lang.org> | 2018-05-07 08:41:07 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2018-05-07 08:41:07 +0000 |
| commit | c88992d00169f15d8ff9edac8901245b4d21e1c1 (patch) | |
| tree | 9562051a844a59b766d7245679d0dcfe1e14f408 /src/rustllvm/PassWrapper.cpp | |
| parent | 9b97705f9edb9aef64f417952c02b01dbf16bcea (diff) | |
| parent | 0bf26bf9519025e2c89d1d51ba8c7fe52351675f (diff) | |
| download | rust-c88992d00169f15d8ff9edac8901245b4d21e1c1.tar.gz rust-c88992d00169f15d8ff9edac8901245b4d21e1c1.zip | |
Auto merge of #50000 - michaelwoerister:cross-lang-lto, r=alexcrichton
Add some groundwork for cross-language LTO. Implements part of #49879: - Adds a `-Z cross-lang-lto` flag to rustc - Makes sure that bitcode is embedded in object files if the flag is set. This should already allow for using cross language LTO for staticlibs (where one has to invoke the linker manually anyway). However, `rustc` will not try to enable LTO for its own linker invocations yet. r? @alexcrichton
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
