[PATCH] D122335: [clang] Emit crash reproduction as a single tar file

Alex Brachet via Phabricator via cfe-commits cfe-commits at lists.llvm.org
Tue Mar 29 17:07:24 PDT 2022


abrachet updated this revision to Diff 419014.
abrachet added a comment.
Herald added a subscriber: mgorny.

- Add new build option `CLANG_CRASH_SAVE_TEMPS` which defaults to Off, or On if `CMAKE_BUILD_TYPE` is Debug. It retains the old behavior alongside the tar file.
- Mark tests which use `tar(1)` as `UNSUPPORTED: windows`, it seems either the Windows bots don't have `tar` or it doesn't support `--wildcards`


CHANGES SINCE LAST ACTION
  https://reviews.llvm.org/D122335/new/

https://reviews.llvm.org/D122335

Files:
  clang/CMakeLists.txt
  clang/docs/ReleaseNotes.rst
  clang/include/clang/Driver/Compilation.h
  clang/lib/Driver/Compilation.cpp
  clang/lib/Driver/Driver.cpp
  clang/test/CMakeLists.txt
  clang/test/Driver/crash-diagnostics-dir.c
  clang/test/Driver/crash-report-clang-cl.cpp
  clang/test/Driver/crash-report-header.h
  clang/test/Driver/crash-report-modules.m
  clang/test/Driver/crash-report-save-temps.c
  clang/test/Driver/crash-report-spaces.c
  clang/test/Driver/crash-report-with-asserts.c
  clang/test/Driver/crash-report.cpp
  clang/test/Driver/rewrite-map-in-diagnostics.c
  clang/test/Index/create-libclang-completion-reproducer.c
  clang/test/Index/create-libclang-parsing-reproducer.c
  clang/test/Modules/crash-vfs-path-emptydir-entries.m
  clang/test/Modules/crash-vfs-path-symlink-component.m
  clang/test/Modules/crash-vfs-path-symlink-topheader.m
  clang/test/Modules/crash-vfs-path-traversal.m
  clang/test/Modules/crash-vfs-relative-overlay.m
  clang/test/Modules/crash-vfs-umbrella-frameworks.m
  clang/test/lit.cfg.py
  clang/test/lit.site.cfg.py.in

-------------- next part --------------
A non-text attachment was scrubbed...
Name: D122335.419014.patch
Type: text/x-patch
Size: 35647 bytes
Desc: not available
URL: <http://lists.llvm.org/pipermail/cfe-commits/attachments/20220330/459f7713/attachment-0001.bin>


More information about the cfe-commits mailing list