summaryrefslogtreecommitdiffstats
path: root/llvm/lib/IR/ModuleSummaryIndex.cpp
diff options
context:
space:
mode:
authorAndrew Browne <browneee@google.com>2019-11-18 15:04:56 -0800
committerTeresa Johnson <tejohnson@google.com>2019-11-18 16:04:09 -0800
commit6a1b51282bc5728b77a80581a4aa38edcc9f95e5 (patch)
tree200de7c3d35e3f76202a0cce9528a0281adad141 /llvm/lib/IR/ModuleSummaryIndex.cpp
parentf19ea6ea5f8c0a05bf7638dad857c70f9236b6e8 (diff)
downloadbcm5719-llvm-6a1b51282bc5728b77a80581a4aa38edcc9f95e5.tar.gz
bcm5719-llvm-6a1b51282bc5728b77a80581a4aa38edcc9f95e5.zip
Fix error message missed in commit dde589389fcb8b5098f7a47f1b781b27d29a0cac.
Patch by Andrew Browne <browneee@google.com> Reviewers: tejohnson, evgeny777 Reviewed By: tejohnson Subscribers: arphaman, hiraditya, llvm-commits Tags: #llvm Differential Revision: https://reviews.llvm.org/D70195
Diffstat (limited to 'llvm/lib/IR/ModuleSummaryIndex.cpp')
-rw-r--r--llvm/lib/IR/ModuleSummaryIndex.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/llvm/lib/IR/ModuleSummaryIndex.cpp b/llvm/lib/IR/ModuleSummaryIndex.cpp
index 518027aba5b..5a4859e7c5d 100644
--- a/llvm/lib/IR/ModuleSummaryIndex.cpp
+++ b/llvm/lib/IR/ModuleSummaryIndex.cpp
@@ -61,6 +61,8 @@ std::pair<unsigned, unsigned> FunctionSummary::specialRefCounts() const {
return {RORefCnt, WORefCnt};
}
+constexpr uint64_t ModuleSummaryIndex::BitcodeSummaryVersion;
+
// Collect for the given module the list of function it defines
// (GUID -> Summary).
void ModuleSummaryIndex::collectDefinedFunctionsForModule(
OpenPOWER on IntegriCloud