| Commit message (Collapse) | Author | Age | Files | Lines |
|
|
|
|
|
|
|
| |
Don't bother coming up with a -cc1 run-line ourselves.
This, in particular, gets rid of a macOS-specific code path.
llvm-svn: 362009
|
|
|
|
|
|
|
|
|
|
|
| |
In Python3, dict.items, dict.keys, dict.values, zip, map and filter no longer return lists, they create generator instead.
The portability patch consists in forcing an extra `list` call if the result is actually used as a list.
`map` are replaced by list comprehension and `filter` by filtered list comprehension.
Differential Revision: https://reviews.llvm.org/D55197
llvm-svn: 349501
|
|
|
|
|
|
|
|
| |
Using from __future__ import print_function it is possible to have a compatible behavior of `print(...)` across Python version.
Differential Revision: https://reviews.llvm.org/D55213
llvm-svn: 349454
|
|
|
|
|
|
|
|
| |
Queue module as been renamed into queue in Python3
Differential Revision: https://reviews.llvm.org/D55202
llvm-svn: 349009
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
Python2 supports the two following equivalent construct
raise ExceptionType, exception_value
and
raise ExceptionType(exception_value)
Only the later is supported by Python3.
Differential Revision: https://reviews.llvm.org/D55195
llvm-svn: 348126
|
|
|
|
| |
llvm-svn: 343643
|
|
|
|
|
|
|
|
| |
line, make sure it's always propagated
Differential Revision: https://reviews.llvm.org/D52801
llvm-svn: 343636
|
|
|
|
|
|
|
|
| |
analyzer options
Differential Revision: https://reviews.llvm.org/D52585
llvm-svn: 343158
|
|
|
|
| |
llvm-svn: 338322
|
|
|
|
| |
llvm-svn: 336124
|
|
|
|
| |
llvm-svn: 336023
|
|
|
|
| |
llvm-svn: 336022
|
|
|
|
|
| |
Signed-off-by: Mikhail Ramalho <mikhail.ramalho@gmail.com>
llvm-svn: 335739
|
|
|
|
| |
llvm-svn: 335685
|
|
|
|
| |
llvm-svn: 328752
|
|
|
|
|
|
| |
multithreaded environment
llvm-svn: 325070
|
|
|
|
|
|
| |
Incorrect option instance construction.
llvm-svn: 324946
|
|
|
|
|
|
|
|
|
|
| |
emulating parser output
...when we can just use the real parser instead.
Differential Revision: https://reviews.llvm.org/D43098
llvm-svn: 324759
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D43031
llvm-svn: 324652
|
|
|
|
|
|
|
|
| |
Makes finding the right file in test results easier.
Differential Revision: https://reviews.llvm.org/D42445
llvm-svn: 323697
|
|
|
|
|
|
|
|
|
|
|
| |
diffs.txt
Storing diffs.txt is now redundant, as we simply dump the CmpRuns output
to stdout (it is saved in CI and tends to be small).
Not generating those files enables us to remove empty folders, which
confuse git, as it would not add them with reference results.
llvm-svn: 316948
|
|
|
|
|
|
| |
Can not open a non-existent file with r+.
llvm-svn: 316808
|
|
|
|
|
|
| |
Eliminates extra lookup step during debugging.
llvm-svn: 316806
|
|
|
|
|
|
|
| |
With this change it would be sufficient to look at CI console to see the
failure.
llvm-svn: 316687
|
|
|
|
|
|
| |
different results
llvm-svn: 316632
|
|
|
|
|
|
|
|
|
|
| |
integration tests
Contrary to the deleted comment, in most cases CmpRuns.py produces a
fairly small amount of output, which is useful to see straight away to
see what has changed when executing the integration tests.
llvm-svn: 316618
|
|
|
|
|
|
|
| |
Move utilities functions into a separate file to make comprehension
easier.
llvm-svn: 316535
|
|
|
|
|
|
|
| |
Pointer to HTML diagnostics is removed (as it is not stored) as well as
the version (as it would be available from the commit message).
llvm-svn: 316534
|
|
|
|
| |
llvm-svn: 316522
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D38488
llvm-svn: 315489
|
|
|
|
|
|
|
|
| |
Do not stop at the first failure.
Differential Revision: https://reviews.llvm.org/D38589
llvm-svn: 314992
|
|
|
|
|
|
| |
Differential Review: https://reviews.llvm.org/D38213
llvm-svn: 314692
|
|
|
|
|
|
| |
Differential Revision: https://reviews.llvm.org/D38162
llvm-svn: 314572
|
|
|
|
| |
llvm-svn: 314042
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
- Exporting needed function for future reuse.
- Idiomatic python: using with `file as f` instead of `try/finally`.
- Fixing some indentation issues.
- No need to reinvent python `multiprocessing.getCPUCount()`
- Removing a function parameter which is always the same under all invocations.
- Adding some docstrings.
Differential Revision: https://reviews.llvm.org/D38156
llvm-svn: 313949
|
|
|
|
|
|
|
|
|
| |
This change is required to easily test the given checkout of the analyzer,
rather than the one bundled with a system compiler.
Differential Revision: https://reviews.llvm.org/D38155
llvm-svn: 313927
|
|
|
|
|
|
|
|
|
|
| |
Treat lines in projectMap.csv that start with '#' as comments. This enables a
workflow where projects can be temporarily disabled with a comment describing
when they should be turned back on.
Differential Revision: https://reviews.llvm.org/D24709
llvm-svn: 281880
|
|
|
|
|
|
|
|
|
|
|
| |
The html reports are huge -- every issue in a given file results in a separate
copy of the source code, in HTML form, for the file. This gets very large
quickly and it doesn't make sense to check this into a reference repository.
Also remove the log when generating reference results because it can leak
absolute path names. We still keep both the html and the log around when
producing non-reference results.
llvm-svn: 258594
|
|
|
|
|
|
| |
I missed this one in r258493.
llvm-svn: 258517
|
|
|
|
|
|
|
| |
The Jenkins workspace on the new Green Dragon builder for the static analyzer has spaces
in its path.
llvm-svn: 258493
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
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
llvm-svn: 252410
|
|
|
|
|
|
|
|
|
|
|
|
|
| |
can use it as well.
Move the logic looking for additional checkers in the SA_ADDITIONAL_CHECKERS
environmental variable from SATestBuild's main() to runScanBuild(). This allows
SATestAdd.py to use the variable as well. Without it, we won't include
additional checkers when building reference results for the build bot.
Differential Revision: http://reviews.llvm.org/D12891
llvm-svn: 247767
|
|
|
|
|
|
|
|
|
| |
Update the static analyzer buildbot script to set -isysroot to the OS X SDK path
when analyzing preprocessed files on OS X.
Differential Revision: http://reviews.llvm.org/D12769
llvm-svn: 247617
|
|
|
|
| |
llvm-svn: 246978
|
|
|
|
| |
llvm-svn: 245637
|
|
|
|
|
|
| |
generating reference results in the test suite.
llvm-svn: 241706
|
|
|
|
|
|
| |
single file tests' bug identifiers.
llvm-svn: 241292
|
|
|
|
|
|
| |
Differential Revision: http://reviews.llvm.org/D10812
llvm-svn: 241073
|
|
|
|
|
|
| |
Fixup to r220289.
llvm-svn: 220976
|
|
|
|
|
|
|
| |
This patch tries to avoid unrelated changes other than fixing a few
hyphen-related ambiguities in nearby lines.
llvm-svn: 196466
|