[PATCH] D65833: [Tooling] Expose ExecutorConcurrency option.
Diego Astiazarán via Phabricator via cfe-commits
cfe-commits at lists.llvm.org
Tue Aug 6 16:09:41 PDT 2019
DiegoAstiazaran created this revision.
DiegoAstiazaran added a reviewer: juliehockett.
https://reviews.llvm.org/D65833
Files:
clang/include/clang/Tooling/AllTUsExecution.h
clang/lib/Tooling/AllTUsExecution.cpp
Index: clang/lib/Tooling/AllTUsExecution.cpp
===================================================================
--- clang/lib/Tooling/AllTUsExecution.cpp
+++ clang/lib/Tooling/AllTUsExecution.cpp
@@ -147,7 +147,7 @@
return llvm::Error::success();
}
-static llvm::cl::opt<unsigned> ExecutorConcurrency(
+llvm::cl::opt<unsigned> ExecutorConcurrency(
"execute-concurrency",
llvm::cl::desc("The number of threads used to process all files in "
"parallel. Set to 0 for hardware concurrency. "
Index: clang/include/clang/Tooling/AllTUsExecution.h
===================================================================
--- clang/include/clang/Tooling/AllTUsExecution.h
+++ clang/include/clang/Tooling/AllTUsExecution.h
@@ -71,6 +71,7 @@
unsigned ThreadCount;
};
+extern llvm::cl::opt<unsigned> ExecutorConcurrency;
extern llvm::cl::opt<std::string> Filter;
} // end namespace tooling
-------------- next part --------------
A non-text attachment was scrubbed...
Name: D65833.213745.patch
Type: text/x-patch
Size: 921 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20190806/29727650/attachment.bin>
More information about the cfe-commits
mailing list