summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Collingbourne <peter@pcc.me.uk>2017-01-05 04:00:09 +0000
committerPeter Collingbourne <peter@pcc.me.uk>2017-01-05 04:00:09 +0000
commitbbd3490bcc38d6aef70a4878696a637fc9f1675c (patch)
tree849d82966946f405f6f7ed079b3eb3e4d381ae68
parent4372f06d0fcaba1a6913e2f37be064e06a7b5b5b (diff)
downloadbcm5719-llvm-bbd3490bcc38d6aef70a4878696a637fc9f1675c.tar.gz
bcm5719-llvm-bbd3490bcc38d6aef70a4878696a637fc9f1675c.zip
Fix build bots.
llvm-svn: 291073
-rw-r--r--llvm/include/llvm/IR/ModuleSummaryIndexYAML.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/llvm/include/llvm/IR/ModuleSummaryIndexYAML.h b/llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
index 8a71d2518f3..67ee832a9de 100644
--- a/llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
+++ b/llvm/include/llvm/IR/ModuleSummaryIndexYAML.h
@@ -80,7 +80,7 @@ template <> struct CustomMappingTraits<GlobalValueSummaryMapTy> {
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<GlobalValueSummaryMapTy> {
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);
}
}
};
OpenPOWER on IntegriCloud