diff options
Diffstat (limited to 'clang/utils/analyzer/SATestBuild.py')
-rwxr-xr-x | clang/utils/analyzer/SATestBuild.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/clang/utils/analyzer/SATestBuild.py b/clang/utils/analyzer/SATestBuild.py index 8f765b95463..b76df748d06 100755 --- a/clang/utils/analyzer/SATestBuild.py +++ b/clang/utils/analyzer/SATestBuild.py @@ -274,7 +274,13 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile): SBOptions += "-plist-html -o '%s' " % SBOutputDir SBOptions += "-enable-checker " + AllCheckers + " " SBOptions += "--keep-empty " - SBOptions += "-analyzer-config 'stable-report-filename=true' " + AnalyzerConfig = { + "stable-report-filename": "true", + "serialize-stats": "true" + } + + SBOptions += "-analyzer-config '%s' " % ( + ",".join("%s=%s" for key, value in AnalyzerConfig.iteritems())) # Always use ccc-analyze to ensure that we can locate the failures # directory. SBOptions += "--override-compiler " |