Skip to content

Commit

Permalink
Auto merge of #115641 - durin42:llvm-18-fatlto-take-2, r=nikic
Browse files Browse the repository at this point in the history
lto: load bitcode sections by name

Upstream change
llvm/llvm-project@6b539f5 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
  • Loading branch information
bors committed Sep 8, 2023
2 parents 8ba158b + 9e06e4f commit 01ae8de
Showing 0 changed files with 0 additions and 0 deletions.

0 comments on commit 01ae8de

Please sign in to comment.