Pass -fcrash-diagnostics-dir along to LLVM
authorPaul Robinson <paul.robinson@sony.com>
Tue, 23 Mar 2021 17:45:37 +0000 (10:45 -0700)
committerPaul Robinson <paul.robinson@sony.com>
Tue, 6 Apr 2021 16:30:52 +0000 (09:30 -0700)
commit04b3c8c52c549ee57e69a1b23484b8c4109f83b8
tree5b24c6397bd0b5c3e328f3ec8b201aac2f018c6b
parent5571cc7deed6dc01f4764adbbf3d668866f22173
Pass -fcrash-diagnostics-dir along to LLVM

This allows frontend and backend diagnostic files to all go into the
same place.  Have it control the Windows (mini-)dump location.

Differential Revision: https://reviews.llvm.org/D99199
clang/lib/Driver/ToolChains/Clang.cpp
clang/test/Driver/crash-diagnostics-dir-2.c [new file with mode: 0644]
llvm/lib/Support/Signals.cpp
llvm/lib/Support/Windows/Signals.inc