about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/llvm
diff options
context:
space:
mode:
authorNikita Popov <npopov@redhat.com>2022-04-19 13:22:39 +0200
committerNikita Popov <npopov@redhat.com>2022-04-20 09:25:47 +0200
commit890cabac8acb566dee2d01bdfd9198546adfa310 (patch)
tree05c689005230b6e40a784f7f35933dbcefda51aa /compiler/rustc_codegen_llvm/src/llvm
parent7dc307fc7a55faddec71fff574c5789f84741315 (diff)
downloadrust-890cabac8acb566dee2d01bdfd9198546adfa310.tar.gz
rust-890cabac8acb566dee2d01bdfd9198546adfa310.zip
Stub out various legacy PM functions with LLVM 15
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
-rw-r--r--compiler/rustc_codegen_llvm/src/llvm/ffi.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
index 7f533b0552a..492cd10b465 100644
--- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
+++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs
@@ -1842,7 +1842,7 @@ extern "C" {
         PMB: &PassManagerBuilder,
         PM: &PassManager<'_>,
     );
-    pub fn LLVMPassManagerBuilderPopulateLTOPassManager(
+    pub fn LLVMRustPassManagerBuilderPopulateLTOPassManager(
         PMB: &PassManagerBuilder,
         PM: &PassManager<'_>,
         Internalize: Bool,