]> granicus.if.org Git - clang/commit
[Driver] Create non-existent directory for -fcrash-diagnostics-dir
authorPetr Hosek <phosek@chromium.org>
Sat, 4 May 2019 00:55:14 +0000 (00:55 +0000)
committerPetr Hosek <phosek@chromium.org>
Sat, 4 May 2019 00:55:14 +0000 (00:55 +0000)
commitbd2061a19606a27c81bacdd54da40fb5736945c2
tree792694d2245408e0ffb866a8bb6acdd4c7a707d6
parent67a39e27344295335e733eab5b576c397ebffd4c
[Driver] Create non-existent directory for -fcrash-diagnostics-dir

When user specifies non-existent directory to -fcrash-diagnostics-dir,
create it rather than failing with an error as would be the case before.

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

git-svn-id: https://llvm.org/svn/llvm-project/cfe/trunk@359954 91177308-0d34-0410-b5e6-96231b3b80d8
lib/Driver/Driver.cpp
test/Driver/crash-diagnostics-dir.c