diff options
| author | Mehdi Amini <mehdi.amini@apple.com> | 2016-03-26 03:35:38 +0000 |
|---|---|---|
| committer | Mehdi Amini <mehdi.amini@apple.com> | 2016-03-26 03:35:38 +0000 |
| commit | 385cf28829a30fa2dfb5b1dbb921ddae298debb2 (patch) | |
| tree | ced714de71cbb1fe2937c732394c86e985921a99 /llvm/tools | |
| parent | 11598143f4f53335eded50ce687d1489c8f38cea (diff) | |
| download | bcm5719-llvm-385cf28829a30fa2dfb5b1dbb921ddae298debb2.tar.gz bcm5719-llvm-385cf28829a30fa2dfb5b1dbb921ddae298debb2.zip | |
Rename ModuleSummaryIndex::modPathStringEntries() into modulePaths()
It now return the map instead of an iterator.
From: Mehdi Amini <mehdi.amini@apple.com>
llvm-svn: 264489
Diffstat (limited to 'llvm/tools')
| -rw-r--r-- | llvm/tools/llvm-lto/llvm-lto.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/llvm/tools/llvm-lto/llvm-lto.cpp b/llvm/tools/llvm-lto/llvm-lto.cpp index 16e6a9afc7d..1f7892de44b 100644 --- a/llvm/tools/llvm-lto/llvm-lto.cpp +++ b/llvm/tools/llvm-lto/llvm-lto.cpp @@ -281,7 +281,7 @@ std::vector<std::unique_ptr<MemoryBuffer>> loadAllFilesForIndex(const ModuleSummaryIndex &Index) { std::vector<std::unique_ptr<MemoryBuffer>> InputBuffers; - for (auto &ModPath : Index.modPathStringEntries()) { + for (auto &ModPath : Index.modulePaths()) { const auto &Filename = ModPath.first(); auto CurrentActivity = "loading file '" + Filename + "'"; auto InputOrErr = MemoryBuffer::getFile(Filename); |

