From 875cc36b17b45193fed023ce21fc7ec99535f105 Mon Sep 17 00:00:00 2001 From: Arthur Eubanks Date: Tue, 21 Oct 2025 22:21:50 +0000 Subject: [PATCH] actually compile --- compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp index d6ac51123550..bcd19d9fc3a1 100644 --- a/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp +++ b/compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp @@ -1142,7 +1142,7 @@ struct LLVMRustThinLTOModule { // This is copied from `lib/LTO/ThinLTOCodeGenerator.cpp`, not sure what it // does. static const GlobalValueSummary * -getFirstDefinitionForLinker(const GlobalValueSummaryList &GVSummaryList) { +getFirstDefinitionForLinker(ArrayRef> GVSummaryList) { auto StrongDefForLinker = llvm::find_if( GVSummaryList, [](const std::unique_ptr &Summary) { auto Linkage = Summary->linkage();