Jordan Rose
b042cc7822
[analyzer] CmpRuns.py: Accept single files as input.
...
This allows us to compare two direct invocations of the analyzer on a
single source file without having to wrap the output plists in their
own directories.
llvm-svn: 177804
2013-03-23 01:21:26 +00:00
Anna Zaks
fab9bb6890
[analyzer] CmpRuns: move the clang_version info into the run (out of
...
report)
llvm-svn: 168105
2012-11-15 22:42:44 +00:00
Anna Zaks
9821e57c09
[analyzer] Ensure that CmpRuns recursively walks the output directory.
...
llvm-svn: 167981
2012-11-14 21:32:16 +00:00
Anna Zaks
639b40484e
[analyzer] CmpRuns: cleanup APIs, allow processing of plists with no
...
clang_version, fix the compare routine.
llvm-svn: 166129
2012-10-17 21:09:26 +00:00
Anna Zaks
93283d0933
[analyzer] Expose clang_version in CmpRuns
...
llvm-svn: 166048
2012-10-16 19:36:39 +00:00
Anna Zaks
c80313b888
[analyzer] CmpRuns - cleaned up the API, added relative path getter
...
llvm-svn: 165995
2012-10-15 22:48:21 +00:00
Anna Zaks
e12365bc27
[analyzer] Ted fixed the plist-html issue, so the assert can go away.
...
llvm-svn: 162598
2012-08-24 21:07:49 +00:00
Anna Zaks
af3ae3cbbd
[analyzer] Unbreak the static analyzer buildbot.
...
We no longer associate the correct HTML file with plist diagnostic.
Fall out from r162028.
llvm-svn: 162071
2012-08-17 01:09:13 +00:00
Anna Zaks
45a992b5f0
[analyzer] CmpRuns should include file name in the issue identifier.
...
This prevents us from treating the issues from different files with the
same function names and same offsets as the same.
The issue identifier now includes the file name. Also added a way to
strip off the root directories form the source file names.
llvm-svn: 161150
2012-08-02 00:41:40 +00:00
Jordan Rose
5920a1bdd1
Un-break standalone invocations of CmpRuns.py.
...
Fallout from CmpRuns.py API changes in r160314.
llvm-svn: 160800
2012-07-26 20:03:51 +00:00
Anna Zaks
9b7d7140ef
[analyzer] Make CmpRuns external-user friendly.
...
CmpRuns can be used for static analyzer bug report comparison. However,
we want to make sure external users do not rely on the way bugs are
represented (plist files). Make sure that we have a user
friendly/documented API for CmpRuns script.
llvm-svn: 160314
2012-07-16 20:21:42 +00:00
Anna Zaks
d60367b893
[analyzer] Use "issue hash" in CmpRuns; followup on r158180
...
(For the future: It would be more efficient to produce a hash key with
the embedded function info inside the compiler.)
llvm-svn: 158187
2012-06-08 01:50:49 +00:00
Anna Zaks
b3d896d333
[analyzer] Add the HTML file to the SATest diagnostic diff.
...
(Uses the functionality which has been in CmpRuns long before.)
llvm-svn: 148868
2012-01-24 21:57:35 +00:00
Anna Zaks
895c312404
[analyzer] Testing: make diagnostic diffs more informative (add
...
diagnostic message).
llvm-svn: 148867
2012-01-24 21:57:32 +00:00
Anna Zaks
767d356f87
[analyzer] Testing: Display the number of reported differences in the main log.
...
llvm-svn: 144113
2011-11-08 19:56:31 +00:00
Anna Zaks
84726dd72c
[analyzer] Relax the cmp criteria for analyzer reports.
...
Until we find out a way to easily find out what changed by looking at the logs.
llvm-svn: 143789
2011-11-05 05:20:56 +00:00
Anna Zaks
ea8f5725c5
[analyzer] CmpRuns can now optionally delete empty reports.
...
llvm-svn: 139550
2011-09-12 22:40:36 +00:00
Anna Zaks
b80d836137
[analyzer] CmpRuns.cmpScanBuildResults() should be easy to call from other modules.
...
llvm-svn: 139543
2011-09-12 21:32:41 +00:00
Anna Zaks
03f3598ff1
Rename CmpRuns into CmpRuns.py so that it could be used as a module.
...
llvm-svn: 139540
2011-09-12 21:07:18 +00:00