Skip to content

Commit b9f6ac3

Browse files
committed
Rename "threads" -> "workers"
1 parent 9ad92da commit b9f6ac3

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

lld/MachO/Driver.cpp

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1833,12 +1833,12 @@ bool link(ArrayRef<const char *> argsArr, llvm::raw_ostream &stdoutOS,
18331833

18341834
if (auto *arg = args.getLastArg(OPT_read_workers)) {
18351835
StringRef v(arg->getValue());
1836-
unsigned threads = 0;
1837-
if (!llvm::to_integer(v, threads, 0))
1836+
unsigned workers = 0;
1837+
if (!llvm::to_integer(v, workers, 0))
18381838
error(arg->getSpelling() +
18391839
": expected a non-negative integer, but got '" + arg->getValue() +
18401840
"'");
1841-
config->readWorkers = threads;
1841+
config->readWorkers = workers;
18421842
}
18431843
if (auto *arg = args.getLastArg(OPT_threads_eq)) {
18441844
StringRef v(arg->getValue());

0 commit comments

Comments
 (0)