clang/utils
Devin Coughlin 6817029164 [analyzer] Update SATestBuild.py to enable a 'download and patch' model for projects.
Currently the SATestBuild.py and SATestAdd.py buildbot scripts expect project
sources to be checked into the project repository. This commit changes these
scripts to additionally support a model where project sources are downloaded
rather than checked into the repository. Sometimes projects may need to be
modified (for example, to support a newer versions of clang), so the updated scripts
also allow for an optional patch file that will be applied to the downloaded
project source before analysis.

To support this workflow, this commit changes the expected layout of
a project in the repository. The project-specific helper scripts will stay
in the root of each project directory, but the benchmark source itself (if
checked into the repo) should now be stored in a subdirectory named
'CachedSource':

  project_name/
    cleanup_run_static_analyzer.sh [optional]
    run_static_analyzer.cmd [required]
    download_project.sh [optional]
    CachedSource/ [optional]
    changes_for_analyzer.patch [optional]

If the 'CachedSource' source directory is not present, the download script will
be executed. This script should download the project source into 'CachedSource'.
Then, if 'changes_for_analyzer.patch' is present its changes will
be applied to a copy of 'CachedSource' before analysis.

Differential Revision: http://reviews.llvm.org/D14345

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@252410 91177308-0d34-0410-b5e6-96231b3b80d8
2015-11-07 18:27:35 +00:00
..
ABITest Fix invalid test generation by utils/ABITest/ABITestGen.py when the same enum is generated more than once. 2014-08-21 10:13:49 +00:00
CIndex Wrap 'data' key in quotes. 2010-04-17 00:37:35 +00:00
TableGen Add the ability to define "fake" arguments on attributes. 2015-10-28 00:17:34 +00:00
TestUtils Fix typo in test program 2010-07-14 00:09:17 +00:00
VtableTest More magic. 2010-03-29 03:26:49 +00:00
analyzer [analyzer] Update SATestBuild.py to enable a 'download and patch' model for projects. 2015-11-07 18:27:35 +00:00
check_cfc [utils] Improvements to check_cfc.py to work better with some build systems. 2015-06-03 15:09:13 +00:00
valgrind clang/utils/valgrind/x86_64-pc-linux-gnu_gcc-4.3.3.supp: Add /usr/bin/cmp. 2013-01-20 15:30:41 +00:00
CaptureCmd Use /usr/bin/env trick to find python. Patch by Krister Walfridsson. 2009-07-10 20:15:12 +00:00
ClangDataFormat.py [utils/ClangDataFormat.py] Don't use lldb.frame directly, get the frame from the value. 2013-01-09 23:22:08 +00:00
CmpDriver utils/CmpDriver: add brief documentation to indicate what this does 2014-05-21 02:08:10 +00:00
FindSpecRefs Use /usr/bin/env trick to find python. Patch by Krister Walfridsson. 2009-07-10 20:15:12 +00:00
FuzzTest [utils/FuzzTest] Add '--stop-on-fail' to stop the script on the first failure 2012-03-08 20:29:39 +00:00
builtin-defines.c Tweak this non-default test so it still works w/ x86 feature support. 2009-05-11 23:11:21 +00:00
clang-completion-mode.el Minor comments and changes to clang-completion-mode.el, from David Wood! 2012-06-07 22:33:29 +00:00
clang.natvis Added MSVC natvis visualizers for Type and QualType. These could probably be improved, but anything is better than staring at hex values in the debugger. 2015-09-29 17:32:36 +00:00
find-unused-diagnostics.sh Increase the portability of this script a bit: use /usr/bin/env to find bash, 2013-05-24 23:54:21 +00:00
token-delta.py Add a very primitive clang based multifile 'delta'. 2009-02-24 07:42:32 +00:00