Rename parallelFor -> parallelForEachN.
So that it is clear that the function is a wrapper for for_each_n.
llvm-svn: 302718
diff --git a/lld/ELF/MapFile.cpp b/lld/ELF/MapFile.cpp
index af5bc3c..23c63e8 100644
--- a/lld/ELF/MapFile.cpp
+++ b/lld/ELF/MapFile.cpp
@@ -84,7 +84,7 @@
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);