summaryrefslogtreecommitdiffstats
path: root/lld/ELF/MapFile.cpp
diff options
context:
space:
mode:
authorRui Ueyama <ruiu@google.com>2017-05-10 20:02:19 +0000
committerRui Ueyama <ruiu@google.com>2017-05-10 20:02:19 +0000
commit33d903d1b0543e4a1ee49836555ca7532d450722 (patch)
tree0586885acb8970e2b0d31710fc5ec8491118f84a /lld/ELF/MapFile.cpp
parentc51d05369a4f4aa7cd9580f095e915cd53cff223 (diff)
downloadbcm5719-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.cpp2
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);
OpenPOWER on IntegriCloud