commit | 3c36449dd4c66f7415f0a23b7908f5496b0dd743 | [log] [tgz] |
---|---|---|
author | George Burgess IV <gbiv@google.com> | Tue Jun 21 17:06:52 2022 -0700 |
committer | Chromeos LUCI <chromeos-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Jun 29 21:03:49 2022 +0000 |
tree | 74824ae005bb6874221040c4b7a9fbc4bdf7900e | |
parent | d31ac0b99b083f51dbb88031e8329f336d0a666b [diff] |
compiler_wrapper: add autocrash logic As outlined in the attached bug, we want to be able to crash the compiler based on a handful of heuristics. Crashing Clang helps get us self-contained reproducers fairly easily. This CL provides (off-by-default) functionality to do the above. The expectation is that a SWE will hack at it to make it work as they need to. BUG=b:236736327 TEST=Installed the new wrapper; observed autocrashes. Change-Id: I76ec753ec37baa5e9b6dab92668081fa7c605725 Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/third_party/toolchain-utils/+/3714885 Reviewed-by: Manoj Gupta <manojgupta@chromium.org> Reviewed-by: Jordan Abrahams-Whitehead <ajordanr@google.com> Commit-Queue: George Burgess <gbiv@chromium.org> Tested-by: George Burgess <gbiv@chromium.org>
toolchain-utils
Various utilities used by the ChromeOS 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.