commit | 0a377f4bba0a15d994624bf078b8120ac7cdf5ce | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Wed Aug 05 15:03:36 2020 -0700 |
committer | George Burgess <gbiv@chromium.org> | Mon Aug 10 18:10:51 2020 +0000 |
tree | 21f16b65d548f802f8a19cb221ec7f48f42a2773 | |
parent | 2953a41a804820ea859e484fd8e28aa7e9ea9de8 [diff] |
compiler_wrapper: dump tricium clang-tidy crash information This CL has us dump extra info when we observe a crash while using `WITH_TIDY=tricium`. In particular: - We'll now try to generate a -E'ed source file, and stash that in a subdirectory of our general crash_diagnostics directory. - Our JSON object that represents clang-tidy output has metadata about the aforementioned crash file, if it was generated. BUG=chromium:1113442 TEST=`go test`; ran locally with a crashy clang-tidy Change-Id: I577e5ec8e990af3b7cf1d8a9fea347582d5b227b Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/2343974 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
toolchain-utils
Various utilities used by the Chrome OS toolchain team.
To run Python scripts in this directory, first run:
export PYTHONPATH=$(readlink -f .):$PYTHONPATH
from this directory.
Then you can run any script.
To get help on any script, type in python <script> --help
, or refer to the header of the script for more information.