diff options
| author | bors <bors@rust-lang.org> | 2023-09-08 19:07:17 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2023-09-08 19:07:17 +0000 |
| commit | ffc48e3eda36e288f76b4022d72d94321887ebf5 (patch) | |
| tree | 31ce78e4b25e750672074b2ef12d4cc1042d3852 /compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp | |
| parent | 26f4b7272428b181e0a88ad075e5c8f09dcb0e5c (diff) | |
| parent | 0db66022b1e0f057362be1ca8593c3ff1fee1c85 (diff) | |
| download | rust-ffc48e3eda36e288f76b4022d72d94321887ebf5.tar.gz rust-ffc48e3eda36e288f76b4022d72d94321887ebf5.zip | |
Auto merge of #115641 - durin42:llvm-18-fatlto-take-2, r=nikic
lto: load bitcode sections by name Upstream change llvm/llvm-project@6b539f5eb8ef1d3a3c87873caa2dbd5147e1adbd 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
Diffstat (limited to 'compiler/rustc_llvm/llvm-wrapper/CoverageMappingWrapper.cpp')
0 files changed, 0 insertions, 0 deletions
