[PATCH] D45777: [UnitTests] NFC/build-perf: Break up nontrivial compile jobs

David Zarzycki via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Wed Apr 18 10:18:46 PDT 2018


davezarzycki created this revision.
davezarzycki added reviewers: arphaman, sberg, delesley, james.dennett, jdennett, klimek.
Herald added a subscriber: mgorny.

RecursiveASTVisitorTest.cpp is one of the longest compile jobs and a build bottleneck on many-core machines. This patch breaks that file and some peer files up into smaller files to increase build concurrency and overall rebuild performance.


Repository:
  rC Clang

https://reviews.llvm.org/D45777

Files:
  Tooling/CMakeLists.txt
  Tooling/RecursiveASTVisitorTest.cpp
  Tooling/RecursiveASTVisitorTestExprVisitor.cpp
  Tooling/RecursiveASTVisitorTests/Attr.cpp
  Tooling/RecursiveASTVisitorTests/CXXBoolLiteralExpr.cpp
  Tooling/RecursiveASTVisitorTests/CXXOperatorCallExprTraverser.cpp
  Tooling/RecursiveASTVisitorTests/Class.cpp
  Tooling/RecursiveASTVisitorTests/ConstructExpr.cpp
  Tooling/RecursiveASTVisitorTests/DeclRefExpr.cpp
  Tooling/RecursiveASTVisitorTests/ImplicitCtor.cpp
  Tooling/RecursiveASTVisitorTests/InitListExprPostOrder.cpp
  Tooling/RecursiveASTVisitorTests/InitListExprPostOrderNoQueue.cpp
  Tooling/RecursiveASTVisitorTests/InitListExprPreOrder.cpp
  Tooling/RecursiveASTVisitorTests/InitListExprPreOrderNoQueue.cpp
  Tooling/RecursiveASTVisitorTests/IntegerLiteral.cpp
  Tooling/RecursiveASTVisitorTests/LambdaDefaultCapture.cpp
  Tooling/RecursiveASTVisitorTests/LambdaExpr.cpp
  Tooling/RecursiveASTVisitorTests/NestedNameSpecifiers.cpp
  Tooling/RecursiveASTVisitorTests/ParenExpr.cpp
  Tooling/RecursiveASTVisitorTests/TemplateArgumentLocTraverser.cpp
  unittests/Tooling/RecursiveASTVisitorTestCallVisitor.cpp
  unittests/Tooling/RecursiveASTVisitorTests/CXXMemberCall.cpp

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D45777.142956.patch
Type: text/x-patch
Size: 52913 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20180418/752ee682/attachment-0001.bin>


More information about the cfe-commits mailing list