[analyzer] Use stable filenames in analyzer testing infrastructure

Makes finding the right file in test results easier.

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

llvm-svn: 323697
This commit is contained in:
George Karpenkov 2018-01-29 21:45:07 +00:00
parent 21428afae8
commit 9ed25edc66
1 changed files with 1 additions and 0 deletions

View File

@ -247,6 +247,7 @@ 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' "
# Always use ccc-analyze to ensure that we can locate the failures
# directory.
SBOptions += "--override-compiler "