aboutsummaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorAnna Zaks <ganna@apple.com>2013-05-31 02:31:09 +0000
committerAnna Zaks <ganna@apple.com>2013-05-31 02:31:09 +0000
commite3a9baa45c91f5c06801a2d667b5d6d71bcfb355 (patch)
tree735df64d18962607fed698651b83a744e98c1b46 /utils
parent3ee2ad876a7ffc093cecb220916b0cfa1b4cc3c3 (diff)
downloadclang-e3a9baa45c91f5c06801a2d667b5d6d71bcfb355.tar.gz
[analyzer] Always use ccc-analyzer when running scan-build on buildbot
git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@182982 91177308-0d34-0410-b5e6-96231b3b80d8
Diffstat (limited to 'utils')
-rwxr-xr-xutils/analyzer/SATestBuild.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/utils/analyzer/SATestBuild.py b/utils/analyzer/SATestBuild.py
index e119155a9b..8e09a7adab 100755
--- a/utils/analyzer/SATestBuild.py
+++ b/utils/analyzer/SATestBuild.py
@@ -208,6 +208,9 @@ def runScanBuild(Dir, SBOutputDir, PBuildLogFile):
SBOptions += "-plist-html -o " + SBOutputDir + " "
SBOptions += "-enable-checker " + Checkers + " "
SBOptions += "--keep-empty "
+ # Always use ccc-analyze to ensure that we can locate the failures
+ # directory.
+ SBOptions += "--override-compiler "
try:
SBCommandFile = open(BuildScriptPath, "r")
SBPrefix = "scan-build " + SBOptions + " "