summaryrefslogtreecommitdiff
path: root/lld/COFF/MapFile.cpp
diff options
context:
space:
mode:
authorNico Weber <thakis@chromium.org>2022-06-19 12:30:06 -0400
committerNico Weber <thakis@chromium.org>2022-06-19 17:49:00 -0400
commit7effcbda49ba32991b8955821b8fdbd4f8f303e2 (patch)
treed55acb89f56ca9445f99ba60efa1dcc8c0270fbe /lld/COFF/MapFile.cpp
parenta5cb6edb475bd41a3e3ced3fa9323096535c2da9 (diff)
downloadllvm-7effcbda49ba32991b8955821b8fdbd4f8f303e2.tar.gz
Rename parallelForEachN to just parallelFor
Patch created by running: rg -l parallelForEachN | xargs sed -i '' -c 's/parallelForEachN/parallelFor/' No behavior change. Differential Revision: https://reviews.llvm.org/D128140
Diffstat (limited to 'lld/COFF/MapFile.cpp')
-rw-r--r--lld/COFF/MapFile.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/lld/COFF/MapFile.cpp b/lld/COFF/MapFile.cpp
index ace614da866b..2da50af30387 100644
--- a/lld/COFF/MapFile.cpp
+++ b/lld/COFF/MapFile.cpp
@@ -141,7 +141,7 @@ static void getSymbols(const COFFLinkerContext &ctx,
static DenseMap<Defined *, std::string>
getSymbolStrings(const COFFLinkerContext &ctx, ArrayRef<Defined *> syms) {
std::vector<std::string> str(syms.size());
- parallelForEachN((size_t)0, syms.size(), [&](size_t i) {
+ parallelFor((size_t)0, syms.size(), [&](size_t i) {
raw_string_ostream os(str[i]);
Defined *sym = syms[i];