about summary refs log tree commit diff
path: root/compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
diff options
context:
space:
mode:
authorAugie Fackler <augie@google.com>2023-09-07 09:48:50 -0400
committerAugie Fackler <augie@google.com>2023-09-07 09:48:50 -0400
commit6e5566cf03340fba678c10c17282b1fcc536c3e1 (patch)
tree634e3128e654e47083e8b19ffed8c684bbc127a6 /compiler/rustc_llvm/llvm-wrapper/RustWrapper.cpp
parenta5b2ac6906d2b688db4938f842057cde6054449c (diff)
downloadrust-6e5566cf03340fba678c10c17282b1fcc536c3e1.tar.gz
rust-6e5566cf03340fba678c10c17282b1fcc536c3e1.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_llvm/llvm-wrapper/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions