rust/compiler/rustc_llvm
bors ffc48e3eda Auto merge of #115641 - durin42:llvm-18-fatlto-take-2, r=nikic
lto: load bitcode sections by name

Upstream change
llvm/llvm-project@6b539f5eb8 changed `isSectionBitcode` works and it now only respects `.llvm.lto` sections instead of also `.llvmbc`, which it says was never intended to be used for LTO. We instead load sections by name, and sniff for raw bitcode by hand.

This is an alternative approach to #115136, where we tried the same thing using the `object` crate, but it got too fraught to continue.

r? `@nikic`
`@rustbot` label: +llvm-main
2023-09-08 19:07:17 +00:00
..
llvm-wrapper Auto merge of #115641 - durin42:llvm-18-fatlto-take-2, r=nikic 2023-09-08 19:07:17 +00:00
src add a csky-unknown-linux-gnuabiv2 target 2023-08-14 23:02:36 +08:00
build.rs Rollup merge of #114349 - inferiorhumanorgans:dragonfly-link-libz, r=cuviper 2023-09-02 07:48:21 +02:00
Cargo.toml Remove build_helper 2022-03-05 15:31:22 +01:00