about summary refs log tree commit diff
path: root/src/test/incremental/thinlto
diff options
context:
space:
mode:
authorMichael Woerister <michaelwoerister@posteo>2018-08-02 14:26:55 +0200
committerMichael Woerister <michaelwoerister@posteo>2018-08-07 14:44:48 +0200
commitaa9eeff26370b17e8ba140b6cb285a4613047132 (patch)
tree20a4991f868fe74177fead5062ca4b7dd8c26a3c /src/test/incremental/thinlto
parent3a3b3317d99f0b72884002d1e4809bbe87356f8f (diff)
downloadrust-aa9eeff26370b17e8ba140b6cb285a4613047132.tar.gz
rust-aa9eeff26370b17e8ba140b6cb285a4613047132.zip
Make sure upstream object files are added to staticlibs when compiling
with ThinLTO and cross-lang-lto.

Normally, when compiling with whole-crate-graph ThinLTO, we expect
rustc's LTO step to "uplift" upstream object files/LLVM modules to
the current set of compilation artifacts. Therefore the staticlib
creation code skips this uplifting. However, when compiling with
"cross-language LTO" (i.e. defer LTO to the actual linker), the LTO
step in rustc is not performed, so we have to take care of copying
upstream object files during archive creation (like we already do
when compiling without any LTO).
Diffstat (limited to 'src/test/incremental/thinlto')
0 files changed, 0 insertions, 0 deletions