diff options
| author | Axel Cohen <axel.cohen@eshard.com> | 2021-11-24 11:43:40 +0100 |
|---|---|---|
| committer | Axel Cohen <axel.cohen@eshard.com> | 2021-12-13 10:41:43 +0100 |
| commit | c4f29fa0ed738b52e7d8ef372c2d09300755dfef (patch) | |
| tree | 70209b622c152b56c44064255abe29d85a46c2cd /compiler/rustc_codegen_llvm/src/llvm | |
| parent | 97cf461b8f4c0ed0de8fdc1c441b904ddb8b3194 (diff) | |
| download | rust-c4f29fa0ed738b52e7d8ef372c2d09300755dfef.tar.gz rust-c4f29fa0ed738b52e7d8ef372c2d09300755dfef.zip | |
Use the existing llvm-plugins option for both legacy and new pm registration
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/llvm')
| -rw-r--r-- | compiler/rustc_codegen_llvm/src/llvm/ffi.rs | 4 |
1 files changed, 2 insertions, 2 deletions
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, |
