]> granicus.if.org Git - clang/commit
[CTU] Add DisplayCTUProgress analyzer switch
authorGabor Marton <martongabesz@gmail.com>
Fri, 7 Dec 2018 14:56:02 +0000 (14:56 +0000)
committerGabor Marton <martongabesz@gmail.com>
Fri, 7 Dec 2018 14:56:02 +0000 (14:56 +0000)
commiteab2c7ba4dc75b5655adc74b1e89fbaf0a60f75e
tree3b0ded8c42641deca004f00a72513d3b1fcdb729
parentecb70d1e9182f70e044f037e5e225c96dd06ef8f
[CTU] Add DisplayCTUProgress analyzer switch

Summary:
With a new switch we may be able to print to stderr if a new TU is being loaded
during CTU.  This is very important for higher level scripts (like CodeChecker)
to be able to parse this output so they can create e.g. a zip file in case of
a Clang crash which contains all the related TU files.

Reviewers: xazax.hun, Szelethus, a_sidorin, george.karpenkov

Subscribers: whisperity, baloghadamsoftware, szepet, rnkovacs, a.sidorin, mikhail.ramalho, donat.nagy, dkrupp,

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@348594 91177308-0d34-0410-b5e6-96231b3b80d8
include/clang/CrossTU/CrossTranslationUnit.h
include/clang/StaticAnalyzer/Core/AnalyzerOptions.def
lib/CrossTU/CrossTranslationUnit.cpp
lib/StaticAnalyzer/Core/CallEvent.cpp
test/Analysis/analyzer-config.c
test/Analysis/ctu-main.cpp