Skip to content

Commit 739b49f

Browse files
Rollup merge of #152670 - bjorn3:lto_refactors12, r=petrochenkov
Simplify ThinLTO handling This reduces the amount of complexity around ThinLTO module buffers. It removes duplication between `ModuleBuffer` and `ThinBuffer` (the latter was also used for fat LTO in some cases), clarifies when and where the ThinLTO summary is used (only for `--emit thin-link-bitcode`, ThinLTO performed by rustc rebuilds the summary every time). This also enables a follow up cleanup to reduce code duplication between red, green and imported codegen units. Part of rust-lang/compiler-team#908
2 parents b3d5959 + 045f1dc commit 739b49f

0 file changed

File tree

    0 commit comments

    Comments
     (0)