From c4f29fa0ed738b52e7d8ef372c2d09300755dfef Mon Sep 17 00:00:00 2001 From: Axel Cohen Date: Wed, 24 Nov 2021 11:43:40 +0100 Subject: Use the existing llvm-plugins option for both legacy and new pm registration --- compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compiler/rustc_codegen_llvm/src/llvm') diff --git a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs index a225d59dd40..c0cc8f9b750 100644 --- a/compiler/rustc_codegen_llvm/src/llvm/ffi.rs +++ b/compiler/rustc_codegen_llvm/src/llvm/ffi.rs @@ -2304,8 +2304,8 @@ extern "C" { end_callback: SelfProfileAfterPassCallback, ExtraPasses: *const c_char, ExtraPassesLen: size_t, - PassPlugins: *const c_char, - PassPluginsLen: size_t, + LLVMPlugins: *const c_char, + LLVMPluginsLen: size_t, ) -> LLVMRustResult; pub fn LLVMRustPrintModule( M: &'a Module, -- cgit 1.4.1-3-g733a5