Go to file
Devin Coughlin 80e74cdc68 [scan-build-py] Increase precision of timestamp in report directory name
This commit improves compatibility with the perl version of scan-build.

The perl version of scan-build produces output report directories with
increasing lexicographic ordering. This ordering is relied on by the CmpRuns.py
tool in utils/analyzer when comparing results for build commands with multiple
steps. That tool tries to line up the output directory for each step between
different runs of the analyzer based on the increasing directory name.

The python version of scan-build uses file.mkdtemp() with a time stamp
prefix to create report directories. The timestamp has a 1-second precision.
This means that when analysis of a single build step takes less than a second
the ordering property that CmpRuns.py expects will sometimes not hold,
depending on the timing and the random suffix generated by mkdtemp(). Ultimately
this causes CmpRuns to incorrectly correlate results from build steps and report
spurious differences between runs.

This commit increases the precision of the timestamp used in scan-build-py to
the microsecond level. This approach still has the same underlying issue -- but
in practice analysis of any build step is unlikely to take less than a
millisecond.

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

llvm-svn: 280768
2016-09-06 23:42:51 +00:00
clang [scan-build-py] Increase precision of timestamp in report directory name 2016-09-06 23:42:51 +00:00
clang-tools-extra [include-fixer] Fix some Clang-tidy modernize-use-override and Include What You Use warnings; other minor fixes. 2016-09-06 19:53:26 +00:00
compiler-rt Add #include <cstdio> to unbreak build (missing definition of stderr) 2016-09-06 16:26:49 +00:00
debuginfo-tests
libclc configure.py: Add polaris10 and polaris11 2016-08-30 18:00:41 +00:00
libcxx Try 2 - Remove <cstdlib> include from `<exception>` 2016-09-06 21:25:27 +00:00
libcxxabi [lit] Replace print with lit_config.note(). 2016-09-02 13:56:05 +00:00
libunwind Add missing _US_ACTION_MASK constant to unwind.h 2016-09-05 18:01:13 +00:00
lld Simplify a boolean expression by using the De Morgan's law. 2016-09-06 22:50:48 +00:00
lldb Revert "Fix tests on Windows." 2016-09-06 22:40:11 +00:00
llgo [llgo] add llgo source path to LLVM_GO_PACKAGES 2016-07-27 03:01:00 +00:00
llvm [DAGCombine] More fixups to SETCC legality checking (visitANDLike/visitORLike) 2016-09-06 23:02:23 +00:00
openmp Move function into cpp file under KMP_AFFINITY_SUPPORTED guard. 2016-09-02 20:54:58 +00:00
parallel-libs [SE] Rename PlatformInterfaces to PlatformDevice 2016-09-06 19:27:00 +00:00
polly Add check-polly-tests build target. 2016-09-05 10:54:16 +00:00