actually compile
This commit is contained in:
parent
f38839a874
commit
875cc36b17
1 changed files with 1 additions and 1 deletions
|
|
@ -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<std::unique_ptr<GlobalValueSummary>> GVSummaryList) {
|
||||
auto StrongDefForLinker = llvm::find_if(
|
||||
GVSummaryList, [](const std::unique_ptr<GlobalValueSummary> &Summary) {
|
||||
auto Linkage = Summary->linkage();
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue