diff options
| author | Rui Ueyama <ruiu@google.com> | 2017-05-10 20:02:19 +0000 |
|---|---|---|
| committer | Rui Ueyama <ruiu@google.com> | 2017-05-10 20:02:19 +0000 |
| commit | 33d903d1b0543e4a1ee49836555ca7532d450722 (patch) | |
| tree | 0586885acb8970e2b0d31710fc5ec8491118f84a /lld/ELF/MapFile.cpp | |
| parent | c51d05369a4f4aa7cd9580f095e915cd53cff223 (diff) | |
| download | bcm5719-llvm-33d903d1b0543e4a1ee49836555ca7532d450722.tar.gz bcm5719-llvm-33d903d1b0543e4a1ee49836555ca7532d450722.zip | |
Rename parallelFor -> parallelForEachN.
So that it is clear that the function is a wrapper for for_each_n.
llvm-svn: 302718
Diffstat (limited to 'lld/ELF/MapFile.cpp')
| -rw-r--r-- | lld/ELF/MapFile.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/ELF/MapFile.cpp b/lld/ELF/MapFile.cpp index af5bc3c2c81..23c63e845c9 100644 --- a/lld/ELF/MapFile.cpp +++ b/lld/ELF/MapFile.cpp @@ -84,7 +84,7 @@ template <class ELFT> DenseMap<DefinedRegular *, std::string> getSymbolStrings(ArrayRef<DefinedRegular *> Syms) { std::vector<std::string> Str(Syms.size()); - parallelFor(0, Syms.size(), [&](size_t I) { + parallelForEachN(0, Syms.size(), [&](size_t I) { raw_string_ostream OS(Str[I]); writeHeader<ELFT>(OS, Syms[I]->getVA(), Syms[I]->template getSize<ELFT>(), 0); |

