[all-commits] [llvm/llvm-project] 52f653: [analyzer][CrossTU] Lower CTUImportThreshold defau...

Endre Fülöp via All-commits all-commits at lists.llvm.org
Wed Jul 1 01:09:20 PDT 2020


  Branch: refs/heads/master
  Home:   https://github.com/llvm/llvm-project
  Commit: 52f65323660051a5d039d475edfd4a3018682dcb
      https://github.com/llvm/llvm-project/commit/52f65323660051a5d039d475edfd4a3018682dcb
  Author: Endre Fülöp <endre.fulop at sigmatechnology.se>
  Date:   2020-07-01 (Wed, 01 Jul 2020)

  Changed paths:
    M clang/include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
    M clang/test/Analysis/analyzer-config.c

  Log Message:
  -----------
  [analyzer][CrossTU] Lower CTUImportThreshold default value

Summary:
The default value of 100 makes the analysis slow. Projects of considerable
size can take more time to finish than it is practical. The new default
setting of 8 is based on the analysis of LLVM itself. With the old default
value of 100 the analysis time was over a magnitude slower. Thresholding the
load of ASTUnits is to be extended in the future with a more fine-tuneable
solution that accomodates to the specifics of the project analyzed.

Reviewers: martong, balazske, Szelethus

Subscribers: whisperity, xazax.hun, baloghadamsoftware, szepet, rnkovacs, a.sidorin, mikhail.ramalho, Szelethus, donat.nagy, dkrupp, Charusso, steakhal, ASDenysPetrov, cfe-commits

Tags: #clang

Differential Revision: https://reviews.llvm.org/D82561




More information about the All-commits mailing list