Skip to content

Commit 875cc36

Browse files
committed
actually compile
1 parent f38839a commit 875cc36

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1142,7 +1142,7 @@ struct LLVMRustThinLTOModule {
11421142
// This is copied from `lib/LTO/ThinLTOCodeGenerator.cpp`, not sure what it
11431143
// does.
11441144
static const GlobalValueSummary *
1145-
getFirstDefinitionForLinker(const GlobalValueSummaryList &GVSummaryList) {
1145+
getFirstDefinitionForLinker(ArrayRef<std::unique_ptr<GlobalValueSummary>> GVSummaryList) {
11461146
auto StrongDefForLinker = llvm::find_if(
11471147
GVSummaryList, [](const std::unique_ptr<GlobalValueSummary> &Summary) {
11481148
auto Linkage = Summary->linkage();

0 commit comments

Comments
 (0)