Stub out various legacy PM functions with LLVM 15

This commit is contained in:
Nikita Popov
2022-04-19 13:22:39 +02:00
parent 7dc307fc7a
commit 890cabac8a
3 changed files with 46 additions and 2 deletions

View File

@@ -625,7 +625,7 @@ pub(crate) fn run_pass_manager(
if thin {
llvm::LLVMRustPassManagerBuilderPopulateThinLTOPassManager(b, pm);
} else {
llvm::LLVMPassManagerBuilderPopulateLTOPassManager(
llvm::LLVMRustPassManagerBuilderPopulateLTOPassManager(
b, pm, /* Internalize = */ False, /* RunInliner = */ True,
);
}