about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/common.rs
diff options
context:
space:
mode:
authorAugie Fackler <augie@google.com>2023-09-07 09:48:50 -0400
committerAugie Fackler <augie@google.com>2023-09-08 10:45:22 -0400
commit942bdf910cc85e6389546e25cfb391062095cbd8 (patch)
tree91124d6cca775a5abb8e70b2d7fdd132dfd49b14 /compiler/rustc_codegen_llvm/src/common.rs
parentcd71a37f320c379df47ff64abd934f3a2da94c26 (diff)
downloadrust-942bdf910cc85e6389546e25cfb391062095cbd8.tar.gz
rust-942bdf910cc85e6389546e25cfb391062095cbd8.zip
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.

r? @nikic
@rustbot label: +llvm-main
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/common.rs')
0 files changed, 0 insertions, 0 deletions