OSDN Git Service

Add cmake option to disable minidumps, default it to off
authorReid Kleckner <rnk@google.com>
Mon, 20 Aug 2018 16:49:54 +0000 (16:49 +0000)
committerReid Kleckner <rnk@google.com>
Mon, 20 Aug 2018 16:49:54 +0000 (16:49 +0000)
commit7e4b0fae2e70a7731ccc4e40e6a9968c1656fc31
tree1412ec64c8a8c7dbb296bf9e36ed4f95ba18811b
parent1083c155dc1de076a316a8f1b917776657a685e0
Add cmake option to disable minidumps, default it to off

Since crash dumping landed in r268519, May 2016, I have not once seen
anyone use an uploaded minidump to debug a compiler crash. Therefore,
I'm turning this off by default. The dumps clutter up user and buildbot
temp directories. Each file is only about 56KB, but it adds up.

In the context of clang, the extra line about the minidump confuses
users, when what we really want from them is the pre-processed source
code.

git-svn-id: https://llvm.org/svn/llvm-project/llvm/trunk@340185 91177308-0d34-0410-b5e6-96231b3b80d8
CMakeLists.txt
include/llvm/Config/config.h.cmake
lib/Support/Process.cpp