about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-05-07 08:41:07 +0000
committerbors <bors@rust-lang.org>2018-05-07 08:41:07 +0000
commitc88992d00169f15d8ff9edac8901245b4d21e1c1 (patch)
tree9562051a844a59b766d7245679d0dcfe1e14f408 /src/rustllvm/PassWrapper.cpp
parent9b97705f9edb9aef64f417952c02b01dbf16bcea (diff)
parent0bf26bf9519025e2c89d1d51ba8c7fe52351675f (diff)
downloadrust-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