We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent f38839a commit 875cc36Copy full SHA for 875cc36
compiler/rustc_llvm/llvm-wrapper/PassWrapper.cpp
@@ -1142,7 +1142,7 @@ struct LLVMRustThinLTOModule {
1142
// This is copied from `lib/LTO/ThinLTOCodeGenerator.cpp`, not sure what it
1143
// does.
1144
static const GlobalValueSummary *
1145
-getFirstDefinitionForLinker(const GlobalValueSummaryList &GVSummaryList) {
+getFirstDefinitionForLinker(ArrayRef<std::unique_ptr<GlobalValueSummary>> GVSummaryList) {
1146
auto StrongDefForLinker = llvm::find_if(
1147
GVSummaryList, [](const std::unique_ptr<GlobalValueSummary> &Summary) {
1148
auto Linkage = Summary->linkage();
0 commit comments