diff options
author | Peter Collingbourne <peter@pcc.me.uk> | 2017-05-04 18:03:25 +0000 |
---|---|---|
committer | Peter Collingbourne <peter@pcc.me.uk> | 2017-05-04 18:03:25 +0000 |
commit | e611018a3f1237c9328763027db4a616ed7be04a (patch) | |
tree | 63cd3300f50266e17de464d245f1532d32bfd02c /tools/llvm-lto | |
parent | ae22fd989b66ade4eedee67ac2453897733d99f8 (diff) |
Re-apply r302108, "IR: Use pointers instead of GUIDs to represent edges in the module summary. NFCI."
with a fix for the clang backend.
git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@302176 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'tools/llvm-lto')
-rw-r--r-- | tools/llvm-lto/llvm-lto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/llvm-lto/llvm-lto.cpp b/tools/llvm-lto/llvm-lto.cpp index 27e5c5e122c..2458d3d123c 100644 --- a/tools/llvm-lto/llvm-lto.cpp +++ b/tools/llvm-lto/llvm-lto.cpp @@ -284,7 +284,7 @@ void printIndexStats() { unsigned Calls = 0, Refs = 0, Functions = 0, Alias = 0, Globals = 0; for (auto &Summaries : *Index) { - for (auto &Summary : Summaries.second) { + for (auto &Summary : Summaries.second.SummaryList) { Refs += Summary->refs().size(); if (auto *FuncSummary = dyn_cast<FunctionSummary>(Summary.get())) { Functions++; |