mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 12:39:31 +03:00
64b446b190
Adjust getMCSubtargetInfo signature for LLVM 23+ A recent [LLVM PR](https://github.com/llvm/llvm-project/pull/195032) changed the signature of `getMCSubtargetInfo` to return a reference instead of a pointer. This adjusts uses of the function in `compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp` to account for the different signature.