[llvm] r291073 - Fix build bots.
Peter Collingbourne via llvm-commits
llvm-commits at lists.llvm.org
Wed Jan 4 20:00:09 PST 2017
Author: pcc
Date: Wed Jan 4 22:00:09 2017
New Revision: 291073
URL: http://llvm.org/viewvc/llvm-project?rev=291073&view=rev
Log:
Fix build bots.
Modified:
llvm/trunk/include/llvm/IR/ModuleSummaryIndexYAML.h
Modified: llvm/trunk/include/llvm/IR/ModuleSummaryIndexYAML.h
URL: http://llvm.org/viewvc/llvm-project/llvm/trunk/include/llvm/IR/ModuleSummaryIndexYAML.h?rev=291073&r1=291072&r2=291073&view=diff
==============================================================================
--- llvm/trunk/include/llvm/IR/ModuleSummaryIndexYAML.h (original)
+++ llvm/trunk/include/llvm/IR/ModuleSummaryIndexYAML.h Wed Jan 4 22:00:09 2017
@@ -80,7 +80,7 @@ template <> struct CustomMappingTraits<G
for (auto &FSum : FSums) {
GlobalValueSummary::GVFlags GVFlags(GlobalValue::ExternalLinkage, false,
false, false);
- Elem.push_back(make_unique<FunctionSummary>(
+ Elem.push_back(llvm::make_unique<FunctionSummary>(
GVFlags, 0, ArrayRef<ValueInfo>{},
ArrayRef<FunctionSummary::EdgeTy>{}, std::move(FSum.TypeTests)));
}
@@ -93,7 +93,7 @@ template <> struct CustomMappingTraits<G
FSums.push_back(FunctionSummaryYaml{FSum->type_tests()});
}
if (!FSums.empty())
- io.mapRequired(std::to_string(P.first).c_str(), FSums);
+ io.mapRequired(llvm::utostr(P.first).c_str(), FSums);
}
}
};
More information about the llvm-commits
mailing list